AW: Using ANT via Remote Desktop

2007-08-22 Thread Jan.Materne
Sounds like a problem with the remote desktop. Ant does not know if it's started "directly" or "indirectly". Could you start other programs like Eclipse or NetBeans via remote desktop? Jan >-Ursprüngliche Nachricht- >Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Kent Moore >Gesen

Re: String replace.

2007-08-22 Thread Andrew Goktepe
Try escaping the & character xml-style with & instead of \& pattern="<" -Andrew On 8/22/07, Chun Ji <[EMAIL PROTECTED]> wrote: > > > Hi, > > Does someone know how to replace a string such as "<" to be "<" in a > html file by ANT. > The target that I have created in my build.xml is : > " > ...

Re: How to run Java on HP

2007-08-22 Thread Andrew Goktepe
Running your program from within an Ant script: If you need to run Ant itself in 64-bit Java set ANT_OPTS="-d64" -Andrew On 8/22/07, cactuar <[EMAIL PROTECTED]> wrote: > > > I am running Java on HP platforms (PA-RISC and Itanium). The HP Support > suggested me to add "-d64" option to the

How to run Java on HP

2007-08-22 Thread cactuar
I am running Java on HP platforms (PA-RISC and Itanium). The HP Support suggested me to add "-d64" option to the command line to run the 64-bit binaries. They said it is used to get past the heap size limitations. I could not get it to run without "-d64" option on our 64 bit environment. My com

String replace.

2007-08-22 Thread Chun Ji
Hi, Does someone know how to replace a string such as "<" to be "<" in a html file by ANT. The target that I have created in my build.xml is : " ... .. ", but I see such errors: " The value of attribute "replace" associated with an element type "replaceregex" must not

Re: escaping tilde in filename extension

2007-08-22 Thread Mario Madunic
Thank you, worked like a charm. Marijan (Mario) Madunic Quoting Peter Reilly <[EMAIL PROTECTED]>: > You need to disable the defaultincludes attribute. > > > > > > http://ant.apache.org/manual/CoreTypes/fileset.html > > Peter > > > On 8/22/07, Mario Madunic <[EMAIL PROTECTED]> wrote: >

Re: Suppressing error messages from chmod and chgrp tasks

2007-08-22 Thread Vihan Pandey
> > Don't these tasks extend ? Can you simply > > redirect their error output to /dev/null? > > Even if I could, I do not know if I would want to do that since I would > loose other useful information. You could try this in exec(but its totally *nix specific) your_command withparams_and_switches

Re: escaping tilde in filename extension

2007-08-22 Thread Peter Reilly
You need to disable the defaultincludes attribute. http://ant.apache.org/manual/CoreTypes/fileset.html Peter On 8/22/07, Mario Madunic <[EMAIL PROTECTED]> wrote: > I'm trying to move files according to extension and content prior to parsing > and > some files have an extension of .xml~.

escaping tilde in filename extension

2007-08-22 Thread Mario Madunic
I'm trying to move files according to extension and content prior to parsing and some files have an extension of .xml~. These files are duplicates of existing .xml files and I want to keep them for legacy purposes. I've been unable to move them using the following The tilde seems to

Using ANT via Remote Desktop

2007-08-22 Thread Kent Moore
At work I have a fully patched WinXP SP2 machine. When in front of the terminal ANT works fine. When executing any ANT target remotely via Remote Desktop I receive the following message: C:\>ant init Error occurred during initialization of VM Could not reserve enough space for object heap The c

Re: Trouble building application with space in path

2007-08-22 Thread L . Charbonneau
Good day, Thank you for your replies. You're absolutely right about the space. We shouldn't have projects name with spaces. Unfortunately I'm not the only developer and this is not something that is going to change overnight. Turns out that I had the wrong sqlj.exe in my path. The Oracle sqlj w

AW: AW: Trouble executing a junit task

2007-08-22 Thread Jan.Materne
I did an "ant clean release" on 2.7-src compile-test: [javac] C:\Downloads\cruisecontrol-src-2.7\cruisecontrol-2.7\main\test\net\sourceforge\cruisecontrol\web\EmbeddedJettyServerTest.java:75: warning: [deprecation] EmbeddedJettyServer(int,java.lang.String) in net.sourcef

Re: AW: Trouble executing a junit task

2007-08-22 Thread Krzysztof Kucybała
Yep, looks like that's what happend. I just upgraded to the newer ant, and things went on... to another problem :o( I get a report, that junit tests failed. Is it possible that cc team released something like that, or am I still experiencing some configuration problems? Best regards, Krzysztof

AW: Trouble executing a junit task

2007-08-22 Thread Jan.Materne
ResourceCollection was introduced in Ant 1.7.0. Are you mixing different Ant versions? Jan >-Ursprüngliche Nachricht- >Von: Krzysztof Kucybała [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 22. August 2007 10:41 >An: Ant Users List >Betreff: Trouble executing a junit task > >Hi, > >I'

Trouble executing a junit task

2007-08-22 Thread Krzysztof Kucybała
Hi, I'm trying to build the dashboard application for cruise control 2.7. The build.xml for that app has a junit task, which fails and breaks the build. First it would give me an error that it could not initialize the task, with a suggestion to put a relevant jar file on the classpath. So I p

Issue in javac option

2007-08-22 Thread Francisco Exposito Aguilera
Hello, I´m having an issue with the javac option... I have some classes and I want to create different jar files using them. The code for javac I have is where entrada.classpath is and orquestador-comun.jar is the first jar I´ve created. But when the above javac is cr

Re: Trouble building application with space in path

2007-08-22 Thread Krzysztof Kucybała
I don't know if I'm not missing something out here, but why do You use spaces in paths? Change them to underscores and You'll have tons of trouble off Your head. One of the very first things I learned in computer science was never to put whitespaces where they don't belong - identifiers, filena