Hi all,

    I am actually trying to execute the Jetspeed 'jar' task within it's
build.xml from another build.xml (within my own portal that relies on the
jetspeed jar, especially changes to the cvs source ...)


Here is my task def --

     <ant antfile="build.xml" dir="${jetspeed.dir}/build" target="jar"/>



upon exectution --

------------- SNIP -----------------------------

$ ant install
Buildfile: build.xml

install:

init:
      [echo] ---------- Jetspeed Portal Implementation 1.3a3-dev ----------

      [echo] java.class.path =
d:\ant\jakarta-ant-1.5Beta1\lib\xmlParserAPIs.jar;
d:\ant\jakarta-ant-1.5Beta1\lib\xercesImpl.jar;d:\ant\jakarta-ant-1.5Beta1\l
ib\o
ptional.jar;d:\ant\jakarta-ant-1.5Beta1\lib\ant.jar;c:\jdk1.3.1_03\lib\tools
.jar


      [echo] java.home = c:\jdk1.3.1_03\jre
      [echo] ant.home = d:\ant\jakarta-ant-1.5Beta1
      [echo] user.home = D:\Documents and Settings\jkuhnash

      [echo] basedir = D:\cvs\code\jetspeed\build

      [echo] cactus-22.jar = ${cactus-22.jar}
      [echo] cactus-23.jar = ${cactus-23.jar}
      [echo] cactus.ant.jar = ${cactus.ant.jar}
      [echo] junit.jar = ${junit.jar}
      [echo] build.compiler = ${build.compiler}
      [echo] locale.default = en

BUILD FAILED
D:\cvs\code\jetspeed\build\build.xml:148: taskdef class
org.apache.cactus.ant.Ru
nServerTestsTask cannot be found

Total time: 3 seconds
----------------- SNIP -------------------------------------------------


In Jetspeed the variables that are not interpolated above come from a
build.properties file within the jetspeed/build path.

So what I want to know is this really on the Ant side of the fence, Jetspeed
dev side of the fence or my own.

Another thing I am wondering is how Gump executes builds because that
appears to work.  Would it be better using <java /> or <exec /> ???


Thanks in Advance,
Jeremy Kuhnash






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

Reply via email to