One possibly interesting thing. This problem only occurs for me when I run
the Weblogic EJBC. I'm using Weblogic 5.1, service pack 8. Here is the
sample output from Ant when my "master" build script fails:

header:
     [echo] ***********************************************
     [echo] *
     [echo] * Building Network Inventory
     [echo] *
     [echo] ***********************************************

build:
     [echo] compiling the source code...

ejbc:
     [echo] Compiling via weblogic.ejbc...
   [delete] Could not find file
D:\projects\itson\networkinventory\classes\ceon_networkinventory.jar to
delete.

BUILD FAILED

java.lang.NoClassDefFoundError: com/ceon/platform/core/util/CeonEntityBean
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
        at
org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:3
90)
        at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:435)
        at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:408)
        at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:332)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.checkAndAdd
Inherited(GenericDeploymentTool.j
ava:549)
        at
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.processDesc
riptor(GenericDeploymentTool.java
:349)
        at
org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java:345)
        at org.apache.tools.ant.Target.execute(Target.java:153)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
        at org.apache.tools.ant.Target.execute(Target.java:153)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
        at org.apache.tools.ant.Project.executeTargets(Project.java:510)
        at org.apache.tools.ant.Main.runBuild(Main.java:421)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 2 minutes 47 seconds
com/ceon/platform/core/util/CeonEntityBean
D:\projects\itson\master>



-----Original Message-----
From: Filip Hanik [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 3:31 PM
To: [EMAIL PROTECTED]
Subject: Re: Fully Automated Builds


-logfile mybuid.log should do it

Filip

~
Namaste - I bow to the divine in you.
~
Filip Hanik
Technical Architect
[EMAIL PROTECTED]

----- Original Message ----- 
From: "Bevan Arps" <[EMAIL PROTECTED]>
To: "Ant User Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 3:26 PM
Subject: Fully Automated Builds



Gidday everyone.

I'm using ANT to automate our production build process and having a good
deal of success.

Two things elude me though - despite reading the docs and searching the
mailing lists.

The first is how to capture the output of javac to a log file - our
builds are unattended and we want to end up with the results of the
build logged on our intranet. All I need to achieve that is having the
log messages in a text file.

The second is how to get ant to continue building even after javac fails
- our builds usually contain a number of related applications and we
want ant to at least attempt compiling all of them.

Thanks for your help,
Bevan.

-- 
_______________________________________________________________________
Bevan Arps, OO Analyst                    email: [EMAIL PROTECTED]
ACT Financial Systems     "Programming is an Art Form that Fights Back"
***********************************************************************
This  communication  is confidential  to ACT  Financial  Systems  (Asia
Pacific)  and is intended for  use only by the  addressee.   The  views
and opinions  expressed in  this email  are the senders  own and do not
represent  the  views  and  opinions of  ACT  Financial  Systems  (Asia
Pacific).
***********************************************************************

Reply via email to