ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hakan Koseoglu <hakan.koseo...@datafit.co.uk>
Subject works with 1.3, doesn't with 1.4.1...
Date Sun, 28 Oct 2001 13:21:48 GMT
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message