Re: Passing command line arguments to the "run" target??

2006-08-26 Thread Mathieu Champlon
[EMAIL PROTECTED] a écrit : So I want to do something like ant run -a -b -c which should result in "-a -b -c" to be passed to the task. Next time I want to do ant run -x a 12 23 and now "-a a 12 23" should be used by the java task. A property can be set from the command line, like this : an

Re: SOLVED: Problems running "pure" JUnit4 tests (get "no runnable method" exception)

2006-08-26 Thread Rick Mann
I figured it out, sorry. My build.xml was causing all classes named "Test*" to run, and I had named a class that way that was not intended to be a test. -- Rick smime.p7s Description: S/MIME cryptographic signature

Dynamic Ant Tasks from a Website with PHP

2006-08-26 Thread tblhh
Hi, Does anyone has an idea how to start Ant from a website with php. Case: A User selects some xml files via checkbox. Per button an ant task is created and should start ant with the task to generate Pdfs from the selected files with FOP. Someone an idea how to do it? Greets TBL -- Der GMX S

Problems running "pure" JUnit4 tests (get "no runnable method" exception)

2006-08-26 Thread Rick Mann
I read a thread from back in March where people were discussing the "no runnable method" exception generated when trying to use the latest Ant/JUnit4 against tests written against JUnit3. In my case, I'm running a "pure" JUnit4 test, with a single method annotated with @Test, and I'm gettin

RE: Re: RE: Ant Task for FOP

2006-08-26 Thread cknell
You are far more likely to get a useful answer if you post your question with a relevant Subject: line. What you have done is to ask a new question by using an email reply to an unrelated topic. This is called "highjacking a thread" and is considered impolite on email lists. Please re-post with

Re: Non-recursive fileset

2006-08-26 Thread Antoine Levy-Lambert
Hello Gregory, ant does not optimize the scanning of a directory based on selectors such as depth, on based on include patterns. Check whether adding this line brings an optimization. Regards, Antoine Lewis, Gregory wrote: > All- >I am trying

code assist in eclipse

2006-08-26 Thread vinod_subbiah
Hi All, I have the following simple build file .All the highlighted properties are not available through Code Assist.Where as other properties like message , source are available throughout the build.xml.Is it something Im doing wrong ?

Non-recursive fileset

2006-08-26 Thread Lewis, Gregory
All- I am trying to get a listing of the files and folders in a directory. When I use the following target my machine appears to be searching through for every file under the root folder. Is there a target or switch that I could add that would search only the folder passed in? In addition, how

Re: *****spam***** Ant Task for FOP

2006-08-26 Thread Geoffrey Mitchell
Use Xslt task to apply an XSL transform to generate your FO? [EMAIL PROTECTED] wrote: Hi, I have a question concerning an Ant Task for FOP. I want to transform documents from xml to pdf. I found an fop ant task in http://xmlgraphics.apache.org/fop/0.92/anttask.html but there is just the transfo

Re: Passing command line arguments to the "run" target??

2006-08-26 Thread johann . petrak
On 8/26/06, Mathieu Champlon <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] a écrit : > (...) > I would like to run the program from within an ant task so that I can > make > use of how ant can collect the classpath etc., but I would like to > pass such > command line parameters on the program bei

Re: RE: Ant Task for FOP

2006-08-26 Thread tblhh
Hi, Does anyone has an idea how to start Ant from a website with php . Case: A User select some xml files, he wants as pdf then press go and the Files or folders he selecte will be written as in a xml doc as an ant task. Ant is starting FOP for generating the pdfs. Someone an idea? Greets TBL

Re: Passing command line arguments to the "run" target??

2006-08-26 Thread Mathieu Champlon
[EMAIL PROTECTED] a écrit : (...) I would like to run the program from within an ant task so that I can make use of how ant can collect the classpath etc., but I would like to pass such command line parameters on the program being called in the run task. (...) How do you run the program ? Don

Passing command line arguments to the "run" target??

2006-08-26 Thread johann . petrak
I am using ant to compile a Java program that depends on quite a large number of other libraries. This program handles command line parameters of the form "--opt1 value1 -v --opt2 val2 arg1 arg2" etc. I would like to run the program from within an ant task so that I can make use of how ant can c