chris-to-pher lastname-bedford

Greenhorn
+ Follow
since Jul 29, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by chris-to-pher lastname-bedford

Hi,
On my wish list is
a tool that generates (in something like SVG) a visual display
of all ant tasks in a build.xml file, together with links that show the
dependencies of those tasks ?

This would be a cool senior thesis project, eh ?
anyone know of one ?
thanks,
20 years ago
Hello there ~
I'm trying to launch tomcat via an ant task like this >>>
<target name="start.tomcat">
<java classname="org.apache.catalina.startup.Bootstrap"
fork="yes">
<jvmarg value="-Dcatalina.home=${dir.tomcat}"/>
<jvmarg value="-Dcatalina.base=${dir.tomcat}"/>
<arg value="start"/>
<classpath>
<fileset dir="${dir.tomcat}">
<include name="bin/bootstrap.jar"/>
</fileset>
</classpath>
</java>
<echo>yo</echo>
</target>

But although tomcat starts, it hangs ant -- ant never finishes. I thought the 'fork' would start tomcat in a new jvm, and that would allow
the jvm running ant to exit while tomcat keeps running.. but no dice.
Does anyone have any idea about what whackiness is afoot here ?
Some have suggested to use the 'parallel' task... but as i understand that task it will not end until tomcat exits... which is not what i want.. i want to launch tomcat, finish my build and have tomcat continue to hang around in the background. thanks very much for your help !
/Chris
20 years ago