xslt task fails with : Fatal Error! Content is not allowed in prolog.

2005-09-01 Thread Thomas SMETS
My XSLT to transform the XML report from checkstyle fails with the following message : Fatal Error! Content is not allowed in prolog. I use the following : which I believe is expected to work fine with the XSLT generating frames from teh XML work fine with the simpler : checkstyle-nofr

Re: Updating jar fails

2005-09-01 Thread Gad Abraham
Gad Abraham wrote: > Stefan Bodewig wrote: > >>On Fri, 19 Aug 2005, Gad Abraham <[EMAIL PROTECTED]> wrote: >> >> >> >>> >>> >>> >>> >>> >> update="true" >>> includes="dest/e3/e30.class" /> >>> >> >> >>I don't see a basedir attribute on the jar task, where does it point >>to? > >

Re: can ant solve this rather complex challenge

2005-09-01 Thread MCG QA
I did a similar thing with ANT, Let me know if you need it. --- Scott Bell <[EMAIL PROTECTED]> wrote: > > No, but i wrote a shell script to do it. > > i'll post it here when done. > > >From: MCG QA <[EMAIL PROTECTED]> > >Reply-To: "Ant Users List" > >To: Ant Users List > >Subject: Re: can a

RE: Re: hello all :), trying to install ant

2005-09-01 Thread cknell
Here's my environment. I get the -version stuff just fine. Do you see any significant differences? OS: Microsoft Windows XP [Version 5.1.2600] JAVA_HOME: C:\Program Files\Java\jdk1.5.0_03 ANT_HOME: C:\apache-ant-1.6.5 PATH: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\COMM

RE: hello all :), trying to install ant

2005-09-01 Thread cknell
How does your CLASSPATH read? -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: gekkokid <[EMAIL PROTECTED]> Sent: Thu, 1 Sep 2005 21:31:30 +0100 To: Subject: hello all :), trying to install ant Hi, I am trying to install Ant on a windows system, im h

hello all :), trying to install ant

2005-09-01 Thread gekkokid
Hi, I am trying to install Ant on a windows system, im having a few problems even though it seems straight forward, when i enter "ant" or "ant -version" into the command line i get the default java no arguments response, I unzipped the ant-*.zip into c:\myjava directory and change the ant*/ to

RE: JSPC task.

2005-09-01 Thread Burgess, Benjamin
We use a setup to pre-compile jsps under Tomcat using the info found at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html Ben -Original Message- From: bachoo jahnkar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 01, 2005 4:20 PM To: user@ant.apache.org Subject: JSPC

Re: hello all :), trying to install ant

2005-09-01 Thread gekkokid
c:\windows\system32\;c:\MyJava\;c:\myjava\code\;c:\myjava\ant\; - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, September 01, 2005 9:39 PM Subject: RE: hello all :), trying to install ant How does your CLASSPATH read? -- Charles Knell [EMAIL PROTECTED] - email

JSPC task.

2005-09-01 Thread bachoo jahnkar
Hi I am trying to precompile my JSP while deploying using ANT JSPC task. I am running tomcat 4.0.3. I am getting 2 problems. 1)Directory structure is not maintained. all the jsp are converted and palced in the root directory instead of the original directory structur

Re: filtersets problem

2005-09-01 Thread Juergen Hermann
On Thu, 1 Sep 2005 15:39:36 +0100, Geoff Meakin wrote: well, why don't you the filertsfile into a temp file using expandproperties, and then use the COPY as the filtersfile? >Hi all, >Hoping someone can help me with this frustrating problem. >I have: >1) a file to be copied with a @TOKEN1@ in

Re: can ant solve this rather complex challenge

2005-09-01 Thread Scott Bell
No, but i wrote a shell script to do it. i'll post it here when done. From: MCG QA <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject: Re: can ant solve this rather complex challenge Date: Wed, 31 Aug 2005 13:15:57 -0700 (PDT) Did you get a response to your problem??

RE: Empty arguments on the command-line under windows

2005-09-01 Thread Martin Senger
> IMHO you are being "helped" by the windows command processor. I think it > treats whitespace as meaningless. > Exactly. That's my current understanding of what is happenning. And because this is an OS-dependent feature, I think (IMHO) that Ant when it calls Runtime.exec to call an external pro

RE: Empty arguments on the command-line under windows

2005-09-01 Thread Bill Rich
IMHO you are being "helped" by the windows command processor. I think it treats whitespace as meaningless. What you would end up with is ...-cacheDir -dt... which the command processor will reduce to ...-cacheDir -dt... Try typing the command on the command line exactly like it would be presented

filtersets problem

2005-09-01 Thread Geoff Meakin
Hi all, Hoping someone can help me with this frustrating problem. I have: 1) a file to be copied with a @TOKEN1@ in it, 2) a property: , and 3) a filter to connect them: Hey presto it works, and @TOKEN1@ gets replaces with foo However, Im trying to use a filterset as defined in a file, i

RE: with for loop ?

2005-09-01 Thread Dominique Devienne
> From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > i want to run an antcontrib for loop only, > if a property has been set. > > > Glad to hear Ant-Contrib's works for you. I believe your mistake above was to de-reference the property name instead of supplying just the property name. You shoul

RE: [Junit] How to handle TestSuites correctly

2005-09-01 Thread Dominique Devienne
> -Original Message- > From: Marcel Stör [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 30, 2005 3:06 PM > To: 'Ant Users List' > Subject: RE: [Junit] How to handle TestSuites correctly > > Keith Hatton wrote: > > forkmode="once" will take care of that if you are using Ant 1.6.2+. > >

Re: Jar task updated a jar without known reason

2005-09-01 Thread Andrew Goktepe
The jar task will do as its told without checking to see if there is already an up-to-date file, just as with the jar command-line utility. Yes, without the update attribute set, the jar file will be re-created each time. -Andrew On 9/1/05, Barak Yaish <[EMAIL PROTECTED]> wrote: > > First o

RE: Jar task updated a jar without known reason

2005-09-01 Thread Barak Yaish
First of all, Thanks! But can you tell WHY Ant touched my jar? Regarding your second comment, if I'll omit the update flag, the jar will be recreated every time the task is executed? Thanks, Barak. -Original Message- From: Andrew Goktepe [mailto:[EMAIL PROTECTED] Sent: ?? 01 ?? 20

Re: Jar task updated a jar without known reason

2005-09-01 Thread Andrew Goktepe
You can use the task to compare timestamps between a set of files and a target file. In your case, the set of files are your class files, and the target file is your jar file. (your current contents of compile_cli here) Also, are you sure you want update="true" on the jar task? T

Jar task updated a jar without known reason

2005-09-01 Thread Barak Yaish
Hello, In my build file, javac and jar task are called in order to create a jar for my project. First time these tasks were called, the source files got compiled and a jar was created just fine. Without changing anything in the source files, I ran again the tasks. Nothing happened in javac tas

Javac does not display the files' names being compiled

2005-09-01 Thread Barak Yaish
Hello, When compiling my sources using Ant javac task, I need to know which files are being compiled. Enabling the Verbose flag of javac task displays too much non-relevant output. Is there flag I can turn on or ant other easy way which will cause javac to display the names of files being comp

RE: Ant "Build Failed" for uninstall target

2005-09-01 Thread Srinivas Ivaturi
Thank you very much, it started working :-) -Original Message- From: James Abley [mailto:[EMAIL PROTECTED] Sent: Thursday, September 01, 2005 12:50 PM To: Ant Users List Subject: Re: Ant "Build Failed" for uninstall target I think your url attribute on the undeploy element is wrong - yo

Re: Empty arguments on the command-line under windows

2005-09-01 Thread Martin Senger
Hi, > > If you run ANT in verbose mode (-v) what does it > output as the string that is generated...? > This is how it look underw windows: [testing] Executing 'C:\Program Files\Java\jre1.5.0_04\bin\java.exe' with arguments: [testing] '-classpath' [testing] 'C:\Documents and settings\mart

Re: Empty arguments on the command-line under windows

2005-09-01 Thread Antoine Levy-Lambert
Hello Martin, you can, using the condition task, set registry.cache.dir to "" only when running under windows. Hopes this helps, Antoine > --- Ursprüngliche Nachricht --- > Von: Martin Senger <[EMAIL PROTECTED]> > An: Ant Users List > Betreff: Re: Empty arguments on the command-line under wind

Re: Empty arguments on the command-line under windows

2005-09-01 Thread Martin Senger
> This (condition task invocation) rewrites more simply : > > > because ant only assigns a value to unexisting properties. > You are, of course, completely right (thanks also to Ninju Bohra who pointed to this, as well). I know that but sometimes I forget. Thanks... > To solve your Windows pr

Re: Ant "Build Failed" for uninstall target

2005-09-01 Thread James Abley
I think your url attribute on the undeploy element is wrong - you're referencing the html version, rather than the other version. [1] Try url="http://localhost:8080/manager"; [1] http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/ant/package-summary.html James

RE: custom classloader for a task

2005-09-01 Thread Rainer Noack
Hi Jochen, unfortunately, the displayed delegation hierarchy is typically not correct. oata.AntClassLoader allways returns the System Classloader (class sun.misc.Launcher$AppClassLoader) as its parent. See http://issues.apache.org/bugzilla/show_bug.cgi?id=35436 If you run ant from it's shell scr

Ant "Build Failed" for uninstall target

2005-09-01 Thread Srinivas Ivaturi
Hi I am facing a variety problem with ANT. I have written an ant Script which Installs me a WAR file into Tomcat. I have one more Task to uninstall also. When I use uninstall It is giving me some HTML dump on my command line and at the end it is saying BUILD FAILED. But When I che