Substring

2005-11-01 Thread Remo Liechti
Good Morning Is it possible to to some string operations on a property? Example: Prop1: "/my/folder/" Prop2: "/my other folder/" Now I log: File moved to: ${Prop1}${Prop2} This logs: "/my/folder//my other folder/" The double slash is not nice... But I need all the slashes in Prop1 and Prop2...

RE: Ant fails to delete jars under "lib"

2005-11-01 Thread Silberman, Michael
http://ant.apache.org/faq.html#defaultexcludes should help. You need to switch off the default exclusions, and it will work: -Original Message- From: Silberman, Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 12:45 PM To: Ant Users List Subject: RE: Ant fails to d

RE: Ant fails to delete jars under "lib"

2005-11-01 Thread Silberman, Michael
You would need to tell it to ignore the default excludes. -Original Message- From: Erin Gu [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 10:28 AM To: Ant Users List Subject: RE: Ant fails to delete jars under "lib" I just found this: http://issues.apache.org/bugzilla/show_b

ANT DTD

2005-11-01 Thread Götz Wankelmuth
Hi, I like to validate my build.xml - Files, so I generated a file ant.dtd using the following code: When I load the generated ant.dtd into my XMLSPY, I get the XMLSPY error message "DTD/Schema error - element 'target' already defined" What's going on here ?? -- Mit freundlichen

RE: Ant fails to delete jars under "lib"

2005-11-01 Thread Erin Gu
I just found this: http://issues.apache.org/bugzilla/show_bug.cgi?id=28046 It might be Ant who automatically added "./lib" to its CLASSPATH, so the jars can't be deleted? Erin >-Original Message- >From: Jeffrey E Care [mailto:[EMAIL PROTECTED] >Sent: Tuesday, November 01, 2005 11:41 AM

Re: Ant fails to delete jars under "lib"

2005-11-01 Thread Jeffrey E Care
Perhaps some process was using that JAR at the time you attempted to delete it? -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "Erin Gu" <[EMAIL PROTECTED]> wrote on 11/01/2005 11:28:46 AM: > Hi, I try to use to delete a gro

Ant fails to delete jars under "lib"

2005-11-01 Thread Erin Gu
Hi, I try to use to delete a group of jars, then I got an error: test: [delete] Deleting: C:\sysbuild\ccc\NW-RI\Ped\2.0\dev\lib\erin.jar BUILD FAILED C:\sysbuild\ccc\NW-RI\Ped\2.0\dev\build-portal.xml:13: Unable to delete file C:\sysbuild\ccc\NW-RI\Ped\2.0\dev\lib\erin.jar The I changed the

RE: Classpath in external file

2005-11-01 Thread Uri Zeituni
That's a good idea (how didn't I think about it?). Thanks! -Original Message- From: Jon Skeet [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 5:13 PM To: Ant Users List Subject: RE: Classpath in external file > I have a situation where I have a few projects, each one have > i

RE: Classpath in external file

2005-11-01 Thread Burgess, Benjamin
Will this build script be imported into each project's script? You can always add a target like "display-classpath" or something like that that just echo's it to the screen. This could be useful to some. Ben -Original Message- From: Uri Zeituni [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: Classpath in external file

2005-11-01 Thread Jon Skeet
> I have a situation where I have a few projects, each one have > its own build, but all use the same classpath reference for > compilation. > I have a huge classpath defined, and I don't want to repeat > it in every single script. What I did so far is to define the > classpath in a certain pro

Classpath in external file

2005-11-01 Thread Uri Zeituni
Hi, I have a situation where I have a few projects, each one have its own build, but all use the same classpath reference for compilation. I have a huge classpath defined, and I don't want to repeat it in every single script. What I did so far is to define the classpath in a certain project and

RE: Jboss start and stop scripts

2005-11-01 Thread Rajesh Rajasekaran
HOPE THIS HELPS:

RE: Jboss start and stop scripts

2005-11-01 Thread Keith Hatton
Hmm, I don't think I have ever seen that (I'm using Jboss 3.2.x). But in principle, you should be able to whatever command you would use at a command prompt to stop your server. (Of course, this does not help if the way you normally stop your server is Ctrl-C!) Keith -Original Message-

Re: Jboss start and stop scripts

2005-11-01 Thread Andrei
I tried cargo but the version 0.6 does not support JBoss, and version 0.7 and 1.0 are not yet available for download. - Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Tuesday, November 01, 2005 3:50 PM Subject: Re: Jboss start and stop script

Re: Jboss start and stop scripts

2005-11-01 Thread Steve Loughran
Andrei wrote: Does any body knows how to start and stop jboss using ant? For simple app server start/stop look at cargo; see cargo.codehaus.org -steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Jboss start and stop scripts

2005-11-01 Thread Petar Tahchiev
On 01/11/05, Keith Hatton <[EMAIL PROTECTED]> wrote: > > This works for me - on Windoze anyway, I'm sure you can do something > similar on other platforms. > > HTH > Keith > > os="Windows 2000,Windows XP"> > > > > > > -Original Message- > From: Andrei [mailto:[EMAIL PROTECTED] > Sent: 0

Re: Jboss start and stop scripts

2005-11-01 Thread Andrei
Done that but i get the following error: Exception in thread "main" javax.naming.NameNotFoundException: jmx not bound Do you have any ideea? - Original Message - From: "Keith Hatton" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Tuesday, November 01, 2005 3:39 PM Subject: RE: Jboss

RE: Jboss start and stop scripts

2005-11-01 Thread Keith Hatton
This works for me - on Windoze anyway, I'm sure you can do something similar on other platforms. HTH Keith -Original Message- From: Andrei [mailto:[EMAIL PROTECTED] Sent: 01 November 2005 12:36 To: Ant Users List Subject: Re:

Re: ant is giving me a spurious "Unknown argument" error

2005-11-01 Thread Peter Reilly
You probally have the jpackage verison of ant on your system. Check the file /etc/ant.conf, it it exists then you do have the jpackage version. This *CANNOT* be used with an ant version from the ant distribution. Just delete the /etc/ant.conf file or use ant --noconfig Peter

Re: Using path elements to use jars

2005-11-01 Thread Petar Tahchiev
On 31/10/05, Telang, Nandan <[EMAIL PROTECTED]> wrote: > > That doesn't seem to work for a comma-separated list of files... > > -Nandan > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 29, 2005 12:17 AM > To: Ant Users List; Telang, Nandan

Re: Jboss start and stop scripts

2005-11-01 Thread Andrei
Starting is simple width exec, but how do i stop it from ant? - Original Message - From: "Petar Tahchiev" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Tuesday, November 01, 2005 2:33 PM Subject: Re: Jboss start and stop scripts On 01/11/05, Andrei <[EMAIL PROTECTED]> wrote: Doe

Re: Jboss start and stop scripts

2005-11-01 Thread Petar Tahchiev
On 01/11/05, Andrei <[EMAIL PROTECTED]> wrote: > > > Does any body knows how to start and stop jboss using ant? > I am not quite sure whether it is possible but why not try using exec and pass the run script -- Regards, Petar!

Jboss start and stop scripts

2005-11-01 Thread Andrei
Does any body knows how to start and stop jboss using ant?