forked VM issue

2005-10-20 Thread James Taylor
Hello, I've recently installed java 5 on a machine I remote log into and develop on. Bit in order to run the VM (virtual machine) I need to give -client flag to java ie java –client The machine is a solaris machine and the default option is –server and I don't know how to make client VM the default

Re: Connection refused error

2005-10-20 Thread Steve Loughran
Yalamanchili, Ravi wrote: Hi everybody, I am using ant to compile, I am getting connection refused error:connect, please le me know if I am missing some thing from the ant config it self or how should I resolve this problem Buildfile: build.xml BUILD FAILED C:\plumtree_ui_source\portalui\6.0.x\

user@ant.apache.org

2005-10-20 Thread Mikael Petterson (KI/EAB)
How can I replace the R11A02 with a new number? cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re:

2005-10-20 Thread Nicolas Vervelle
from Ant Contrib ? Otherwise, could you be more specific ? Mikael Petterson (KI/EAB) wrote: How can I replace the R11A02 with a new number? cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

RE:

2005-10-20 Thread Mikael Petterson (KI/EAB)
Hi, I need to replace "R11A02" in my xxx.html file with R12A02 and next time R13A02 . I need to do a search and replace. This is what we tried: cheers, mikael -Original Message- From: Nicolas Vervelle [mailto:[EMAIL PROTECTED] Sent: den 20 oktober 2005 14:17 To: Ant Users List S

RE:

2005-10-20 Thread Mikael Petterson (KI/EAB)
Hi, I tried the following; but the " seems to mess up the match. This is the line: cheers, //mikael -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: den 20 oktober 2005 14:29 To: Ant Users List Subject: RE: Hi, I need to replace "R11A02" in m

RE: Connection refused error

2005-10-20 Thread Yalamanchili, Ravi
Steve, This is helped, thanks a lot Ravi Yalamanchili 201 269 2042 -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 6:17 AM To: Ant Users List Subject: Re: Connection refused error Yalamanchili, Ravi wrote: > Hi everybody, I am using a

Re:

2005-10-20 Thread Jakob Fix
Mikael, On 20/10/05, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: > Hi, > > I tried the following; > > "[A-Z0-9]"\)" replace > ="\1${product_number_html}\_${product_revision_html}"/> > > but the " seems to mess up the match. use " to escape double quote characters. HTH -- cheers,

RE:

2005-10-20 Thread Mikael Petterson (KI/EAB)
Hi, I am not quite confident how you mean? Can you please show me? And what is the meaning of " I tried the following: but got on the line of my replaceregexp .-( BUILD FAILED /home/eraonel/netbeans_projects/countlines/bem.xml:25: Element type "replaceregexp" must be

RE:

2005-10-20 Thread James Abley
On Thu, 2005-10-20 at 14:48, Mikael Petterson (KI/EAB) wrote: > Hi, > > I am not quite confident how you mean? Can you please show me? And what is > the meaning of > > " > Ant build files are in XML. " is the XML character reference for the double-quote character. See http://skew.org/xml/tu

Re:

2005-10-20 Thread Jakob Fix
Mikael, On 20/10/05, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: > Hi, > > I am not quite confident how you mean? Can you please show me? And what is > the meaning of > > " This is a numeric (hexadecimal) entity representing the double quote character. You can use it to represent doubl

Re: Problem converting path to property when a fileset's dir does not exist

2005-10-20 Thread Dominique Devienne
On 10/19/05, Scot P. Floess <[EMAIL PROTECTED]> wrote: > I'm not sure why the source behind Path.java is coded to raise and > exception if the directory is not there...or more to the point why I > can't simply specify to something like "ignore-non-existants" does ignore non-existent files, but t

Re:

2005-10-20 Thread Greg Winton
Mikael, >> " >This is a numeric (hexadecimal) entity representing the >double quote > >character. You can use it to represent double quote >characters inside > >attribute values. > you can use """ as well. I find this a little less cryptic. > try this: > > > > > > > expression="\1${product_

Usage of antcall

2005-10-20 Thread pritesh.saharey
I am trying to use antcall, I had a property file called admin.size in which value admin=136374, I can't put this property file admin.size ouside of create-zip target.

Re: Conditionally create a path reference id

2005-10-20 Thread Dominique Devienne
On 10/19/05, sporty <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to dynamically build 5 different path reference ids. I need > them since you can't refer to a non existant reference id and rather not go > through all the combinations of using them and not. I'd have n! > combinations. > > So for each

Re: Usage of antcall

2005-10-20 Thread Dominique Devienne
> can anyone guess what I am doing wrong, and how I should use antcall, The short answer is to not use , but target dependencies instead, and more specifically, the depends attribute of . --DD - To unsubscribe, e-mail: [EMAIL P

Re:

2005-10-20 Thread Jakob Fix
On 20/10/05, Greg Winton <[EMAIL PROTECTED]> wrote: > Mikael, > > >> " > > >This is a numeric (hexadecimal) entity representing the >double quote > > >character. You can use it to represent double quote >characters inside > > >attribute values. > > > > you can use """ as well. I find this a little

Re: Problem converting path to property when a fileset's dir does not exist

2005-10-20 Thread Scot P. Floess
Dominique: Thanks for the reply. I followed the links and sure enough there is mention of this issue. I incorrectly referred to Path.java when, in fact, the class I had been looking at was AbstractFileSet.java (as seen in the link you provided). From what I gather it looks like in 1.7 I ca

pathelement location

2005-10-20 Thread Laurie . Green
Hi To run my main project I currently include all the existing jars using a and include the classes of the subproject that I have changed and eclipse has compiled using a eg., $

RE:

2005-10-20 Thread Mikael Petterson (KI/EAB)
Hi, I am trying: but still no match. This is the line: cheers, //mikael -Original Message- From: Jakob Fix [mailto:[EMAIL PROTECTED] Sent: den 20 oktober 2005 16:21 To: Ant Users List Subject: Re: On 20/10/05, Greg Winton <[EMAIL PROTECTED]> wrote: > Mikael, > >

Re:

2005-10-20 Thread Jakob Fix
On 20/10/05, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying: > > > > > > > but still no match. > > This is the line: > > you have: * should be: .* you have: [A-Z0-9] should be: [A-Z0-9]+ try this: http://regex.info/ HTH Jakob.

Re:

2005-10-20 Thread Greg Winton
change "[A-Z0-9]" to "[A-Z0-9]+". Also, your parentheses are still such that you will be appending ""kalle"" to the entire string. You can simplify the logic a bit since the first part of the match will not change. > > > > This could be further clarrified by putting everything up to ""kalle"

Re: pathelement location

2005-10-20 Thread Antoine Levy-Lambert
Hello Laurie, there are certainly several ways of achieving this, but not in pure ant (as far as I know) one of the ways is to generate your path on the file, using a stylesheet, you could have a main ant build file which would get the -Dprojects="subproj1, subproj2" parameter, and pass it to

RE:

2005-10-20 Thread Juergen Hermann
On Thu, 20 Oct 2005 14:29:20 +0200, Mikael Petterson (KI/EAB) wrote: >I need to replace "R11A02" in my xxx.html file with >R12A02 and next time R13A02 . I need to do a search and replace. You should consider to NOT replace a value by a new value, but a @token@ by the current value, using cop

Re: pathelement location

2005-10-20 Thread Dominique Devienne
On 10/20/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > To run my main project I currently include all the existing jars using a > and include the classes of the subproject that I have changed and > eclipse has compiled using a > > eg., > > location="C:/P

Re: Usage of antcall

2005-10-20 Thread Ninju Bohra
The slightly longer answer... The problem is that at a high-level every invokes an new private "ANT" environment. Any properties that are defined inside that new private "ANT" enviroment are not copied back out to the orignating "ANT" enviroment. Your property ${admin} is loaded inside a privat

Re: forked VM issue

2005-10-20 Thread Tim Meals
Jim -- If you have root access to the Solaris machine, you can change the JVM preference order with the jvm.cfg file. The only downside is then you're globally changing the JVM preferences for everyone on that system. The jvm.cfg file should be somewhere under ${JAVA_HOME}/jre/lib/sparc or

FYI: Ant-Explorer

2005-10-20 Thread Jan.Materne
A collegue of mine gave a link to Ant-Explorer. It visualizes build files - it´s targets and properties and how they are related to each other (target x uses props a,b,c; target x depends on target y; property b is derived from property d ...) Homepage: http://www.yworks.com/en/products_antexpl