Re: CVS checkout with ANT

2006-09-01 Thread Petar Tahchiev
On 01/09/06, Derrick Simpson <[EMAIL PROTECTED]> wrote: I'm trying to do a simple checkout from cvs, and I get the following error [cvs] cvs [checkout aborted]: /usr/local/cvsroot/CVSROOT: No such file or directory I am getting a /CVSROOT appended onto the end. I do not have access to chang

RE: Jar Locking

2006-09-01 Thread Stephen McConnell
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Friday, 1 September 2006 8:32 PM > To: Ant Users List > Subject: Re: Jar Locking > > Stephen McConnell wrote: > > > > > >> -Original Message- > >> From: Marc Farrow [mailto:[EMAIL PROTECTED] > >> S

CVS checkout with ANT

2006-09-01 Thread Derrick Simpson
I'm trying to do a simple checkout from cvs, and I get the following error [cvs] cvs [checkout aborted]: /usr/local/cvsroot/CVSROOT: No such file or directory I am getting a /CVSROOT appended onto the end. I do not have access to change this myself. Here's the code.

Re: Problems with exec tag

2006-09-01 Thread Daniel Camara
Thanks I will try that :) Best regards... Daniel On 9/1/06, Gilbert Rebhan <[EMAIL PROTECTED]> wrote: Hi, Daniel ah, yes, i think your problem is the declaration of antcontrib taskdefs. if you go via the properties file (which is meant for prior versions of ant, < 1.6) you won't get no t

Re: Problems with exec tag

2006-09-01 Thread Gilbert Rebhan
Hi, Daniel ah, yes, i think your problem is the declaration of antcontrib taskdefs. if you go via the properties file (which is meant for prior versions of ant, < 1.6) you won't get no task as this mapping is commented out = J:\ant-contrib-src\src\net\sf\antcontrib\antcontrib.properties : # Ta

Re: Problems with exec tag

2006-09-01 Thread Gilbert Rebhan
Hi, Daniel that's because the task is not part of vanilla ant, it's part of a bunch of contributions for ant called "ant-contrib". There are also mny other tasks around and you may also roll your own. see (and get those tasks from there ...) http://ant-contrib.sourceforge.net/ Regards, Gil

Re: Problems with exec tag

2006-09-01 Thread Daniel Camara
Thanks Jan, I am a newbie with ant, two days new :), I couldn't execute your second script (Actually Good work, very impressive :), the script gives me the below error message. --- BUILD FAILED C:\Temp\Ant\TESTES\MyProject\MyProject.xml:34: Could not create task or type of type: antlib:net/sf/ant

Re: xml validation woes

2006-09-01 Thread Dominique Devienne
On 9/1/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: Triple slash works. Cool. Yes, I believe that's the official syntax to use, and the single-slash was a bug in a previous JDK. I was using single-slash, and it broke when I changed JDK (or maybe it's when I switched from Xalan to Saxon, I don't

RE: Failure Handler - Catching a BuildException

2006-09-01 Thread Dan McFadyen
Hello, You could make: and just run checklog instead of full.build, and set full.build to not fail on error I think Dan -Original Message- From: Peter Kahn [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 1:08 PM To: user@ant.apache.org Subject: Failure Handler - Catc

Failure Handler - Catching a BuildException

2006-09-01 Thread Peter Kahn
Can someone tell me how I a target processed if the build fails? I have a target called "full.build". It depends on all the other targets that make up my build. I use a variety of tools for my build so I have a script that scrapes the logs and produces a report. I have wrapped this script in a

RE: xml validation woes

2006-09-01 Thread EJ Ciramella
Triple slash works. -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 12:32 PM To: Ant Users List Subject: Re: xml validation woes > xsi:noNamespaceSchemaLocation="file://e:/work/docs/... Try with file:/e:/work/docs and file:///e:/

Re: xml validation woes

2006-09-01 Thread Steve Loughran
EJ Ciramella wrote: I'm having a bit of trouble validating a very simple xml file (for testing purposes). Can anyone shed some light on this for me please? Here is my build script: file="test.xml" classname="org.apache.xerces.parsers.SAXParser"> http://xml.org/sax/features/valida

Re: xml validation woes

2006-09-01 Thread Dominique Devienne
xsi:noNamespaceSchemaLocation="file://e:/work/docs/... Try with file:/e:/work/docs and file:///e:/work/docs. Depends on the JDK which one works I think ;-) --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

xml validation woes

2006-09-01 Thread EJ Ciramella
I'm having a bit of trouble validating a very simple xml file (for testing purposes). Can anyone shed some light on this for me please? Here is my build script: http://xml.org/sax/features/validation"; value="true"/> http://apache.org/xml/features/validation/

Re: Setting permissions on remote server

2006-09-01 Thread Petar Tahchiev
On 01/09/06, Angus Rose <[EMAIL PROTECTED]> wrote: Hi All, I need to set write permissions on a remote file or directory. Can I do this through Ant and if so how? Thanks in advance Angus -- View this message in context: http://www.nabble.com/Setting-permissions-on-remote-server-tf22028

Setting permissions on remote server

2006-09-01 Thread Angus Rose
Hi All, I need to set write permissions on a remote file or directory. Can I do this through Ant and if so how? Thanks in advance Angus -- View this message in context: http://www.nabble.com/Setting-permissions-on-remote-server-tf2202871.html#a6099627 Sent from the Ant - Users forum at

Re: Can't compile with

2006-09-01 Thread Steve Loughran
Mark McKay wrote: Steve Loughran wrote: Mark McKay wrote: Hmm. Looks like it was my fault. The annotation processor I wrote was making a call to Filer.createTextFile() with null being passed in as the second argument (which was throwing a NullPointerException ). When I fixed this, I was

Re: Can't compile with

2006-09-01 Thread Mark McKay
Steve Loughran wrote: Mark McKay wrote: Hmm. Looks like it was my fault. The annotation processor I wrote was making a call to Filer.createTextFile() with null being passed in as the second argument (which was throwing a NullPointerException ). When I fixed this, I was able to compile.

Re: Can't compile with

2006-09-01 Thread Steve Loughran
Mark McKay wrote: Hmm. Looks like it was my fault. The annotation processor I wrote was making a call to Filer.createTextFile() with null being passed in as the second argument (which was throwing a NullPointerException ). When I fixed this, I was able to compile. For some reason, when I

Re: Can't compile with

2006-09-01 Thread Mark McKay
Steve Loughran wrote: Mark McKay wrote: I seem to be unable to compile my program using the new task. At first, I simply changed an existing javac tag to apt and tried to compile, but received an error. I tried playing with the options, but am still receiving similar errors. I would eventu

Re: Can't compile with

2006-09-01 Thread Steve Loughran
Mark McKay wrote: I seem to be unable to compile my program using the new task. At first, I simply changed an existing javac tag to apt and tried to compile, but received an error. I tried playing with the options, but am still receiving similar errors. I would eventually like to have apt

Re: Jar Locking

2006-09-01 Thread Steve Loughran
Stephen McConnell wrote: -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Friday, 1 September 2006 2:35 AM To: Ant Users List Subject: Re: Jar Locking Thanks Stephen. If I set all references to Ant to null and forced GC, would that resolve the problem? Well,

Re: AW: Jar task : Manifest File ends with Windows ending '\r'.

2006-09-01 Thread Steve Loughran
[EMAIL PROTECTED] wrote: If you have a look at the manifest-spec [1], you'll see newline : CR LF | LF | CR (not followed by LF) So the use of the windows line ending CR-LF is valid - on Unix, too. There's some more history on this in one of the bugs (sent to me as part of a discussion

AW: Jar task : Manifest File ends with Windows ending '\r'.

2006-09-01 Thread Jan.Materne
If you have a look at the manifest-spec [1], you'll see newline : CR LF | LF | CR (not followed by LF) So the use of the windows line ending CR-LF is valid - on Unix, too. Jan [1] http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#JAR%20Manifest >-Ursprüngliche Nachricht- >Von:

AW: Problems with exec tag

2006-09-01 Thread Jan.Materne
Maybe a slightly different approach ... notepad.exe c:\boot.ini calc.exe