Hi Carsten, Carsten Pfeiffer wrote: > Package: ant > Version: 1.6.5-2 > Severity: normal > > Hi, > > I'm running some Eclipse JUnit tests, that is, an ant-script checks out > the test-environment from CVS, builds Plugins, launches an Eclipse > workbench and runs the tests inside it.
Beside your problem: For Junit tests you have to install ant-optional, as we had a ant reorganization and in the ant package there are only the core tasks now. > > With the ant 1.6.2 package (as in stable) this works perfectly, 1.6.5 > however, can only be run in foreground. > > I.e. when I start the script from the shell as > > ant -f testrun.xml > > it will work just fine. Starting it as > > ant -f testrun.xml & > > or background a foreground job with bg will quickly make it stop. Well, I cannot reproduce the problem here. I assume it must be some other problem (maybe related to a specific task ...). Please provide us the testrun.xml file so we can test it ourself and see what tasks are you using. Also please give us information which JDK (non-free or free) you are using for ant execution. Simple build files with normal core tasks targets are running for me in the background without problems. Please also test the attached simple buildfile to see if a simple buildfile will succeed in your setup. Thanks, Wolfgang
<project default="test" basedir="."> <target name="test"> <echo>hallo</echo> </target> </project>
_______________________________________________ pkg-java-maintainers mailing list pkg-java-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers