james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joao Medeiros" <joao.medei...@ntlworld.com>
Subject RE: James build
Date Wed, 01 Oct 2003 20:40:49 GMT
Noel,

Thanks for your reply. I've checked the jar files again and also the
'build.xml' file just to make sure.

Ran the build with a clean first and here's the output. It did compile
but gave some warnings, perhaps you may want to check or point me to the
right people.

<BEGIN OUTPUT>

James Build System
-------------------
Buildfile: build.xml

clean:
deleting working directories ready for a clean build

BUILD SUCCESSFUL
Total time: 7 seconds
C:\james-server>build

James Build System
-------------------
Buildfile: build.xml

setup-dependencies:

javamail-check:

activation-check:

junit-check:

missing-dependency:

 
************************************************************************
*
        Classes needed for compiling James Mail Server against the
junit-3.7 API

        are not available. The build may fail or some functionality may
        not be available.

        Resource: junit-3.7.jar

        Recovery:
        Run the build target import-junit-3.7 and it will download
        the needed jar - you should be online for that.

        If you have a fast connection you can also just run the build
target
        import-all-auto-dependencies, which will download all external
jars this

        buildfile knows about.
        Note this may download unused jars as well.
 
************************************************************************
*



check-dependencies:

prepare-common:
Preparing code
Created dir: C:\james-server\dist\james-3.0a1
Copying 2 files to C:\james-server\dist\james-3.0a1
Terminate batch job (Y/N)? n
C:\james-server>build

James Build System
-------------------
Buildfile: build.xml

setup-dependencies:

javamail-check:

activation-check:

junit-check:

missing-dependency:

 
************************************************************************
*
        Classes needed for compiling James Mail Server against the
junit-3.7 API

        are not available. The build may fail or some functionality may
        not be available.

        Resource: junit-3.7.jar

        Recovery:
        Run the build target import-junit-3.7 and it will download
        the needed jar - you should be online for that.

        If you have a fast connection you can also just run the build
target
        import-all-auto-dependencies, which will download all external
jars this

        buildfile knows about.
        Note this may download unused jars as well.
 
************************************************************************
*



check-dependencies:

prepare-common:
Preparing code
Created dir: C:\james-server\build\src
Copying 2 files to C:\james-server\build\src

prepare-phoenix:
Phoenix distribution present - adjusting linefeeds and permissions,
copying file
s
Copying 38 files to C:\james-server\dist\james-3.0a1
Copying 2 files to C:\james-server\dist\james-3.0a1\lib

prepare-jdbc3:
JDBC v3 in classpath - making code JDBC 3.0 compliant

prepare:

compile-main:
Compiling James Java sources
Created dir: C:\james-server\build\classes
Compiling 197 source files to C:\james-server\build\classes
C:\james-server\src\java\org\apache\james\core\AbstractJamesService.java
:467: wa
rning: org.apache.avalon.excalibur.thread.ThreadPool in
org.apache.avalon.excali
bur.thread has been deprecated
 
(org.apache.avalon.excalibur.thread.ThreadPool)threadPool);
                                                       ^
C:\james-server\src\java\org\apache\james\remotemanager\RemoteManagerHan
dler.jav
a:545: warning: getUserByName(java.lang.String) in
org.apache.mailet.UsersReposi
tory has been deprecated
        User user = users.getUserByName(username);
                         ^
C:\james-server\src\java\org\apache\james\remotemanager\RemoteManagerHan
dler.jav
a:721: warning: getUserByName(java.lang.String) in
org.apache.mailet.UsersReposi
tory has been deprecated
        JamesUser user = (JamesUser) users.getUserByName(username);
                                          ^
C:\james-server\src\java\org\apache\james\remotemanager\RemoteManagerHan
dler.jav
a:726: warning: getUserByName(java.lang.String) in
org.apache.mailet.UsersReposi
tory has been deprecated
        JamesUser aliasUser = (JamesUser) users.getUserByName(alias);
                                               ^
C:\james-server\src\java\org\apache\james\remotemanager\RemoteManagerHan
dler.jav
a:774: warning: getUserByName(java.lang.String) in
org.apache.mailet.UsersReposi
tory has been deprecated
        User baseuser = users.getUserByName(username);
                             ^
C:\james-server\src\java\org\apache\james\remotemanager\RemoteManagerHan
dler.jav
a:826: warning: getUserByName(java.lang.String) in
org.apache.mailet.UsersReposi
tory has been deprecated
        JamesUser user = (JamesUser) users.getUserByName(username);
                                          ^
C:\james-server\src\java\org\apache\james\remotemanager\RemoteManagerHan
dler.jav
a:859: warning: getUserByName(java.lang.String) in
org.apache.mailet.UsersReposi
tory has been deprecated
        JamesUser user = (JamesUser) users.getUserByName(username);
                                          ^
C:\james-server\src\java\org\apache\james\transport\mailets\LocalDeliver
y.java:1
72: warning:
storeMail(org.apache.mailet.MailAddress,org.apache.mailet.MailAddre
ss,javax.mail.internet.MimeMessage) in org.apache.mailet.MailetContext
has been
deprecated
                    getMailetContext().storeMail(
                                    ^
C:\james-server\src\java\org\apache\james\transport\mailets\LocalDeliver
y.java:1
94: warning: getUserByName(java.lang.String) in
org.apache.mailet.UsersRepositor
y has been deprecated
                if ((JamesUser) localusers.getUserByName(username)
                                          ^
C:\james-server\src\java\org\apache\james\transport\mailets\LocalDeliver
y.java:1
97: warning: getUserByName(java.lang.String) in
org.apache.mailet.UsersRepositor
y has been deprecated
                        (JamesUser) localusers.getUserByName(username);
                                              ^
10 warnings
Copying 15 files to C:\james-server\build\classes

compile-proposal:

compile:

jar:
Created dir: C:\james-server\build\lib
Making Mailet API Jar (mailet-api-3.0.jar)
Building jar: C:\james-server\build\lib\mailet-api-3.0.jar
Making Mailet Jar (mailet-3.0.jar)
Building jar: C:\james-server\build\lib\mailet-3.0.jar
Making James Jar (james-3.0a1.jar)
Building jar: C:\james-server\build\lib\james-3.0a1.jar

sar:
Making James Sarfile (james.sar)
Building sar: C:\james-server\build\lib\james.sar

dist-lite:
Installing James to C:\james-server/dist/james-3.0a1
Copying 1 file to C:\james-server\dist\james-3.0a1\apps

main:

BUILD SUCCESSFUL
Total time: 1 minute 4 seconds
C:\james-server>

<END OUTPUT>

Thanks,
-JM

-----Original Message-----
From: Noel J. Bergman [mailto:noel@devtech.com] 
Sent: 01 October 2003 21:19
To: James Developers List
Subject: RE: James build

> I'm trying to build the latest dist but running into some odd errors
> perhaps someone can point me to the right direction as I'm obviously
> missing something really simple here.

> I have all the jars (mail, activation and junit) in the lib dir but
for
> some reason it keeps on telling me they are not there!

Under what names?  The ones it looks for, at this time, are:

  activation.jar
  mail-1.3.1.jar
  junit-3.7.jar

Those change whenever we update which versions we use.  For example,
junit
is currently at v3.8.1, whereas we're still using junit v3.7 (feel free
to
update your build file if you wish to use a different version).

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message