Re: How to call Ant scripts from Maven scripts the right way?

2008-07-31 Thread Hans Schwaebli
Then I would need to change pathes if I move the Ant scripts to the maven file. I am looking for a solution, where Maven does not interfere with the relative pathes in the Ant scripts at all (basedir, dots etc.). This would be the easiest. --- On Thu, 7/31/08, supareno <[EMAIL PROTECTED]> wrot

Getting "Exception invoking method check"

2008-07-31 Thread fphan
What does this error mean? Here's the target: 118: 119: 120: 122: Here's the verbose output: /home/yagnika/svn/offline/buildtools/apache-tomcat-5.5.16-deployer/build.xml:121: FAIL - Encountered exception javax.management.RuntimeOperationsException: Exception invoking m

Re: How to call Ant scripts from Maven scripts the right way?

2008-07-31 Thread supareno
it is the right way :-) How can I start Ant scripts from withing Maven scripts? I tried But it had problems with the relative path names and properties then. for the properties, if you have some properties to define from maven to ant, you can use this example:

Re: javadoc from class or jar files?

2008-07-31 Thread supareno
sorry for the last mail, it was an error ;-( so, the stuff that i would to say is that, most of the time, decompiling classes does not generate javadoc... you must have the source of each jar to generate javadoc or download the javadoc of each project ... hope this help supareno Can I crea

Re: javadoc from class or jar files?

2008-07-31 Thread supareno
0mindspin311 a écrit : Can I create documentation from class or jar files? I tried both. Putting a list of jars in the classpath, and unjarring and putting the class files themselves as the classpath. Both times I was including actual source I was building too, but want to generate documentation

javadoc from class or jar files?

2008-07-31 Thread mindspin311
Can I create documentation from class or jar files? I tried both. Putting a list of jars in the classpath, and unjarring and putting the class files themselves as the classpath. Both times I was including actual source I was building too, but want to generate documentation for the dependencies. I

How to call Ant scripts from Maven scripts the right way?

2008-07-31 Thread Hans Schwaebli
How can I start Ant scripts from withing Maven scripts? I tried         But it had problems with the relative path names and properties then. Anyone knows the foolproof way to call Ant scripts from Maven?

RE: How to read an XML file and extract values for the attributes using ANT script

2008-07-31 Thread Stojanov Alexej
Better: http://ant.apache.org/manual/CoreTasks/xmlproperty.html --- --- Alexej Stojanov -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2008 3:24 PM To: Ant Users List Subject: Re: How to read an

Re: ant and junit assertion error

2008-07-31 Thread tacman
I have managed to fix the problem only minutes ago... I have two versions of Ant installed on my pc - one installed manually (1.6.5), one installed by Netbeans 6.1. (ant 1.7) The path in my environmental variable settings pointed to Ant 1.6.5's bin folder. I changed it to point to 1.7's bin folder

Re: ant and junit assertion error

2008-07-31 Thread Andy Stevens
2008/7/31 tacman <[EMAIL PROTECTED]>: > Hi > > I am using JUnit and Ant to run/build/test my java code. Using the optional task, presumably. What versions of Ant & JUnit? > Whenever I try to run a test class (ant test) I receive the following error: > > junit.framework.AssertionErrorFailed => n

Re: How to read an XML file and extract values for the attributes using ANT script

2008-07-31 Thread Alpesh Vesuwala
SUPERB =) I was trying, / :rules: XYZ/text()"/> / :rules: ABC/text()"/> @{xyz} = @{abc} Thanks a lot, Alpesh -- View this message in context: http://www.nabble.com/How-to-read-an-XML-fil

facing the problem in package

2008-07-31 Thread Kamran Hameed
folks .. this is my package structure. I have a root src folder. In src i have a mpjdev package which contains some files. This mpjdev also contains a folder nativ, which contains its files. Now i have several files in nativ such as Comm.java, Group.java, Status.java etc Note that every class in

copy files dynamic with ant

2008-07-31 Thread Otto, Frank
Hi, I want to copy files with ant. For the definition of the filenames, I want to use a properties file. f.e.: file.copy.1=file1.txt file.copy.2=file2.txt file.copy.3=file3.txt file.copy.4=file4.txt file.copy.5=file5.txt ... The number of files is dynamic. How can I do this whith ant? Is this

Re: How to read an XML file and extract values for the attributes using ANT script

2008-07-31 Thread Brian Agnew
Well, that's slightly different. The follwoing will illustrate what you need.. @{xyz} = @{abc} Brian On Thu, July 31, 2008 10:21, Alpesh Vesuwala wrote: > > Hi, > > Thanks for your qui

Re: How to read an XML file and extract values for the attributes using ANT script

2008-07-31 Thread Alpesh Vesuwala
Hi, Thanks for your quick response. The solution is fine but not working when my XML file looks like this: 123 456 987 654 147 258 Thanks and Regards, Alpesh You should be able to do that with a param to call. i.e. identify the node you're interested in wit

ant and junit assertion error

2008-07-31 Thread tacman
Hi I am using JUnit and Ant to run/build/test my java code. Whenever I try to run a test class (ant test) I receive the following error: junit.framework.AssertionErrorFailed => no tests found in [etc] The test class: 1. Imports the junit framework 2. has @Test before every test method The

Re: How to read an XML file and extract values for the attributes using ANT script

2008-07-31 Thread Brian Agnew
You should be able to do that with a param to call. i.e. identify the node you're interested in with: and specify a param: http://www.nabble.com/How-to-read-an-XML-file-and-extract-values-for-the-attributes-using-ANT-script-tp18648408p18749436.html > Sent from the Ant - Users mailing list archi

Re: How to read an XML file and extract values for the attributes using ANT script

2008-07-31 Thread Alpesh Vesuwala
Hey one more twist has come with my requirement. the above solution of xmltask requires separate 'call' to loop through 'XYZ' and 'ABC' Resulting in, I have first all the values of XYZ and then for ABC. and I want values for both together. e.g. abc xyz 123 456

Ant Contrib Beta 3 for a long time, why?

2008-07-31 Thread Hans Schwaebli
Since November 2006 Ant Contrib is still beta 3 (ant-contrib-1.0b3-bin.zip). Why is it not 1.0 final or so? I like these extra tasks. And why isn't development of Ant Contrib continued? There was no release after the beta 3 release in November 2006.