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...
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
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
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
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
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
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
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
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,
> 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
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
HOPE THIS HELPS:
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-
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
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
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
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
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:
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
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
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
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!
Does any body knows how to start and stop jboss using ant?
23 matches
Mail list logo