Karr, David wrote:
>I have a need to build a target that updates the manifest of a jar file
>with an additional attribute (perhaps replace if it's already present).
>If I use a jar task, with 'update="true"' and an inline manifest element
>containing the property I want to add, and no files specif
Hello Dominik,
since linkers have different names on different operating systems, if
you want to be truly crossplatform, you need to use an ant task, third
party or written by you, which will mask the heterogeneity of the
operating systems,
and invoke the appropriate linker, depending on the OS yo
Johannes Rieken wrote:
>Hi everyone!
>
>I 've written a custom ant task which I deploy as a jar file. This jar file
>contains another jar file which is read during task execution.
>I'm using the static method "ClassLoader.getSystemResource(String):URL" to
>access resources in jar file which usu
Hi everyone!
I 've written a custom ant task which I deploy as a jar file. This jar file
contains another jar file which is read during task execution.
I'm using the static method "ClassLoader.getSystemResource(String):URL" to
access resources in jar file which usually works fine.
However call
Hi,
I'd like to use ant to create lnk/exe. I know about the ROXES ant
taskes but wonder... is there a way to use any OS BUT Windows ... I'd
like to stay cross-platform :)
Thanks,
Dominik
-
To unsubscribe, e-mail: [EMAIL PR
Why not give it a try yourself? You'll probably get the answer more quickly
than waiting for the handful of people who have actually done what you
describe; you'll likely learn a few unexpected things along the way, too.
I've always found that it was better for me to answer a question via my own
I have a need to build a target that updates the manifest of a jar file
with an additional attribute (perhaps replace if it's already present).
If I use a jar task, with 'update="true"' and an inline manifest element
containing the property I want to add, and no files specified, what is
it likely t
fool me... the ant-contrib-jar did not have the read and execute permissions.
Hind Lwahhabi.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thu 10/27/2005 1:35 PM
To: user@ant.apache.org
Subject: FW: Classpath problem on a unix system: PLEASE HELP NEEDED
Hi
Hind Lwahhabi.
Accenture Belgium - Financial Services & Insurance
Koningstraat 145 Rue Royale, B-1000 Brussels, Belgium
mobile: +32 499567544
phone: + 32 2 226 75 44
E-mail:[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thu 10/27/2005 10:44
Yeah, put me on the list please :-)
Gilbert
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 27, 2005 12:57 PM
To: user@ant.apache.org
Subject: AW: How to call an ant script with parameters?
Hhm - maybe I should document and publish the whole
Thanks :)
> -Original Message-
> From: Jon Skeet [mailto:[EMAIL PROTECTED]
> Sent: Donnerstag, 27. Oktober 2005 11:54
> To: Ant Users List
> Subject: RE: How to call an ant script with parameters?
>
> > Hi all
> > I didnt find an answer to this in the documentaion or in the
> > maili
Hhm - maybe I should document and publish the whole snippet library ...
Jan
>-Ursprüngliche Nachricht-
>Von: Remo Liechti [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 27. Oktober 2005 12:44
>An: Ant Users List
>Betreff: RE: How to call an ant script with parameters?
>
>Wow, what a c
Wow, what a cool answer :)
Thank you! :)
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Donnerstag, 27. Oktober 2005 11:59
> To: user@ant.apache.org
> Subject: AW: How to call an ant script with parameters?
>
> Use properties:
> ant -f MyAntScript.xml
Use properties:
ant -f MyAntScript.xml MyTarget -Dparam1=MyParameter1 -Dparam2=MyParameter2
Access in Ant: ${param1} ${param2}
see also
passing parameters to ant
http://marc.theaimsgroup.com/?l=ant-user&m=110545745615637&w=2
I think I had done something ... yes in 2003.
Mmh - maybe http:/
> Hi all
> I didnt find an answer to this in the documentaion or in the
> mailinglist archive:
>
> To run a ant script, I have to call it like this:
>
> Ant -buildfile MyAntScript.xml MyTarget
>
> I call my ant script using batch files on windows. Now I need
> to set some parameters to the ant
> > They claim that an imported file is added to the *end* of the
> > importing file. That would suggest to me that top-level
> tasks in the
> > imported file would get executed *after* the top-level
> tasks in the importing file.
>
> I was wrong. I found out I was wrong last week. I will go
Hello Jan,
Yes in a ideal and logical world:)But i prefered to ask to catch people's
experiences.
I did not try anything yest since i am still stuck with my classpath
problem:((some mof my mails are flying right now in the ether).
I can't get anything to run since bsf.jar, js.jar, ant-contrib.j
>I was wondering about the following: i used to write ant
>scripts with some tasks written in javascript
>using BSF(apache bsf) and rhino.
>Now i would like those script tasks to be compatible with an
>AIX 5.2 platform: should i change the scripting language?How
>about The bsf library since IB
Hi all
I didnt find an answer to this in the documentaion or in the mailinglist
archive:
To run a ant script, I have to call it like this:
Ant -buildfile MyAntScript.xml MyTarget
I call my ant script using batch files on windows. Now I need to set
some parameters to the ant script dynamicly, lik
Rebhan, Gilbert wrote:
Hi,
i have a delegating ant script that sets some properties
and then calls another antscript.
I need a way to pass the return status, means either
Build Failed or Build Successful, back to the calling script.
Any ideas ?
Ant-contrib has a version of that lets you pa
Jon Skeet wrote:
I'm trying to update our build procedures using some of the guidelines
in
http://www.1060.org/blogxter/resources/5/ant-1.7.pdf
They claim that an imported file is added to the *end* of the importing
file. That would suggest to me that top-level tasks in the imported file
would
Hello all,
I was wondering about the following: i used to write ant scripts with some
tasks written in javascript using BSF(apache bsf) and rhino.
Now i would like those script tasks to be compatible with an AIX 5.2 platform:
should i change the scripting language?How about The bsf library since
> i have a delegating ant script that sets some properties and
> then calls another antscript.
>
> I need a way to pass the return status, means either Build
> Failed or Build Successful, back to the calling script.
>
> Any ideas ?
I believe that if the build fails, it will throw a BuildExcept
Hello , thanks for your help but i still can't sort it out:(
I have written a test target to echo the properties and here is what i get(note
that the lib with all the bsf jars etc.. seems to be there!).
My problem seems to get worse:it does not event recognise the task!
Reminder : i am on aix 5
Dear Colleagues,
I and Petar Tahchiev (who is also a member of ant-user
list) wrote a presentation about Ant called "Ant
Abilities for Building Large Projects". Could you
please add it in the Resources section? Attached you
will find the patch for resources.xml.
A description of the presentation
This worked well.
Thank you Jürgen
> -Original Message-
> From: Remo Liechti [mailto:[EMAIL PROTECTED]
> Sent: Donnerstag, 27. Oktober 2005 09:35
> To: Ant Users List
> Subject: RE: CVS - get files by their label
>
>
> > >But it works if I execute this command using WinCVS, a fat
> >
Hi,
i have a delegating ant script that sets some properties
and then calls another antscript.
I need a way to pass the return status, means either
Build Failed or Build Successful, back to the calling script.
Any ideas ?
Regards, Gilbert
--
I'm trying to update our build procedures using some of the guidelines
in
http://www.1060.org/blogxter/resources/5/ant-1.7.pdf
They claim that an imported file is added to the *end* of the importing
file. That would suggest to me that top-level tasks in the imported file
would get executed *after
> >But it works if I execute this command using WinCVS, a fat
> client for
> >CVS on Windows...
> >Strange...
>
> Not strange, but a bug in that client. Create an alias tag
> for that invalid tag, with a proper name, and it'll work.
>
I would call it "feature" ;-)
I'll try that one with the
29 matches
Mail list logo