I have a strange error. I'm calling small ant projects from a large ant 
project. The small project calls other ant tasks within itself. The ant tasks 
are spawned from the large ant project by <java> because of classpath and 
running directory issues.

With Ant 1.4.1, I get the following error in first of my small spawned 
projects:

     [java] Buildfile: build.xml
     [java]
     [java] BUILD FAILED
     [java]
     [java]
     [java] Total time: 1 second
     [java] java.lang.VerifyError: (class: 
org/apache/tools/ant/taskdefs/optional/scm/AntStarTeamCheckOut, method: 
runItem signature: 
(Lcom/starbase/starteam/Server;Lcom/starbase/starteam/Project;Lcom/starbase/starteam/View;Lcom/starbase/starteam/Type;Lcom/starbase/starteam/Folder;Lcom/sta
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:120)
     [java]     at org.apache.tools.ant.Project.init(Project.java:163)
     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:387)
     [java]     at org.apache.tools.ant.Main.main(Main.java:149)
     [java] (class: 
org/apache/tools/ant/taskdefs/optional/scm/AntStarTeamCheckOut, method: 
runItem signature: 
(Lcom/starbase/starteam/Server;Lcom/starbase/starteam/Project;Lcom/starbase/starteam/View;Lcom/starbase/starteam/Type;Lcom/starbase/starteam/Folder;Lcom/sta

and with ant 1.3, 

    [java] Buildfile: build.xml
     [java]
     [java] clean:
     [java]
     [java] init:
     [java]
     [java] tools:
     [java]
     [java] clean:
     [java]    [delete] Deleting 2 files from /home/hakank/v21inf/build
     [java]    [delete] Deleting 1681 files from /home/hakank/v21inf/javadoc
     [java]
     [java] BUILD SUCCESSFUL
     [java]
     [java] Total time: 9 seconds

Strange, isn't it? There are no references to the starteam SDK within this 
small build.xml.

The only difference between two projects are the ant's version.

-- 
Hakan Koseoglu

PCMS Datafit Ltd.
3 Avro Court
Ermine Business Park
Huntingdon
Cambs PE29 6XS

Tel: +44-1480-435456
Fax: +44-1480-434012
________________________________________________

The information contained in this e-mail is intended only for the person
or entity to which it is addressed and may contain confidential and/or
privileged material. If you are not the intended recipient of this
e-mail, the use of this information or any disclosure, copying or
distribution is prohibited and may be unlawful.

If you received this in error, please contact the sender and delete the
material from any computer.

The views expressed in this e-mail may not necessarily be the views of
The PCMS Group plc and should not be taken as authority to carry out any
instruction contained.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to