RE: forked jvm exited abnormally

2010-09-07 Thread Xu, Larry
HI Stefan, Sincerely thanks for your reply. As you said, I have added a format ‘Plain’ in the junit task and check the ant log and output of unit test. But I can’t find not any useful info. Ant log: [junit] Scanning for classes: Time=[0.219 seconds] Found=[1 classes] [junit] Tests run: 1,

Re: forked jvm exited abnormally

2010-09-07 Thread Stefan Bodewig
On 2010-09-08, Xu, Larry wrote: > I met a trick problem "forked jvm exited abnormally". > I ran the JUnit test case in ant and set the fork=yes for getting EMMA > report. This can happen for a number of reasons, the most likely is that an exception is thrown during your tests that terminate the

Re: ant-contrib 1.0b3 broken?

2010-09-07 Thread Jacob Beard
Thanks for the replies. XML namespace mapping does work fine, as is written in the docs included with later ant-contrib. For the record, here's what I have that works:

forked jvm exited abnormally

2010-09-07 Thread Xu, Larry
Hi All, I met a trick problem "forked jvm exited abnormally". I ran the JUnit test case in ant and set the fork=yes for getting EMMA report. But I met the above problem. When I set back the fork=no , it work well. Then I asked Google, there are so many question on the network. It seems a popular

Re: ant-contrib 1.0b3 broken?

2010-09-07 Thread Matt Benson
This is because late-ish versions of antcontrib are defined as an antlib, so newer tasks aren't in the old-style properties file. Using xml namespace mapping, for example, works fine. HTH, Matt On Sep 7, 2010, at 7:55 PM, Jonathan Rosenberg wrote: > I had to declare the task via its own to

RE: ant-contrib 1.0b3 broken?

2010-09-07 Thread Jonathan Rosenberg
I had to declare the task via its own to get it to work, -- Jonathan Rosenberg Founder & Executive Director Tabby's Place http://www.tabbysplace.org -Original Message- From: Jacob Beard [mailto:jbea...@cs.mcgill.ca] Sent: Tuesday, September 07, 2010 8:47 PM To: user@ant.apache.org Sub

ant-contrib 1.0b3 broken?

2010-09-07 Thread Jacob Beard
Hi, I'm trying to use ant-contrib 1.0b2 or 1.0b3, because that's what's available in the standard maven repos. In the past, I've used ant-contrib 0.6, which has worked fine, but I cannot seem to declare 1.0b2 or 1.0b3. For example, the following build file works as expected with ant-contrib 0.6, e

Re: setting tools.jar without administrative privileges (already searched on google!)

2010-09-07 Thread reno
Antonio, ask for administrator privileges or ask to the administrator to install a sun jdk (open or not) or download the jdk in your home, unzip it and install it in your home ($USER_HOME/apps) and modify your .bashrc to set your JAVA_HOME ... the second option is the better choice but i don't

Configuring SSL with Ant

2010-09-07 Thread Christopher Styles
Hi, I'm writing an ant script that configures IBM HTTP Server 6.1 (IHS), but I'm facing an issue with the configuration of SSL. Can someone tell me to best way to write a target or task that configures SSL in IBM HTTP Server 6.1, or can someone give me an example of how to do this? I'd really appr

AW: access plugin dependencies and trigger downloading of dependencies with maven ant tasks

2010-09-07 Thread Jan.Materne
I dont know the Maven tasks, but with Ivy you'll get the path with all required libraries with I havent found a quick way to read an existing POM ... Jan >-Ursprüngliche Nachricht- >Von: Jacob Beard [mailto:jbea...@cs.mcgill.ca] >Gesendet: Dienstag, 7. September 2010 04:58 >An: user

setting tools.jar without administrative privileges (already searched on google!)

2010-09-07 Thread Antonio Ragagnin
Hi, when I run ANT i got the error Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/ lib/tools.jar ... ... BUILD FAILED /home/aragag/plar/build.xml:40: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point