Jan
>-Ursprüngliche Nachricht-
>Von: Alex Egg [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 24. Juli 2007 04:57
>An: Ant Users List
>Betreff: Re: Loading files into concat in a certain order
>
>I'm looking at the (dismal) ant docs on resources
--- "Paul J. Morris"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've a custom Path type that worked under ANT 1.6.5,
> but not under 1.7.
>
> The method "public String[] list()" is not being
> called. There is however
> a get iterator type method from the
> ResourceCollection contract. Is this
Hi Charles,
There seems to be an issue with the antelope.taskdef file for a few
tasks. Try using the antlib.xml instead. The example below works fine
for me using the current AntelopeTasks_3.4.2.jar from
http://antelope.tigris.org. I tested this on both Ant 1.6.5 and 1.7.0.
Hi,
I've a custom Path type that worked under ANT 1.6.5, but not under 1.7.
The method "public String[] list()" is not being called. There is however
a get iterator type method from the ResourceCollection contract. Is this
supposed to be over-ridden in 1.7? However it is marked as final (pub
bill/wilandra wrote:
>
> Create a target named init which will define/set props.someprop to any
> value.
>
>
> HTH Bill
>
> --
> This would kind of work. But this will fail to execute all commands in a
> "depends" chain. if one of the if tests isn't met then subsequent target's
> won't execu
Create a target named init which will define/set props.someprop to any
value.
HTH Bill
warhero wrote:
##how use some logic based on a
property from
the props file that will either execute the "exec" or just pass it?
Hey Wascal,
Thanks, this is good. I've got another question if you don't mind me asking.
I've been looking into installation steps, and I'm looking for a way I can
use these jar's without actually having to update any ant installation /
configuration.
We're distributing build systems to develop
I'm looking at the (dismal) ant docs on resources and sort, but I can't
figure out how to use it on my file set:
I just want to sort those files by name so they go into concat alphabeticly.
My files are named 1styles.css, 2styles.css, 3styles.css, etc...
How can I do this?
Alex
On 7
Try the flow control tasks that are in the AntXtras third party
package @ antxtras.sf.net.
For your example:
If you'd like to make sure the property is "true" use:
For multiple properties something like:
HTH,
-The Wabbit
warhero wrote:
##how use some logic based on a
property from
the props file that will either execute the "exec" or just pass it?
--- Alex Egg <[EMAIL PROTECTED]> wrote:
> I need to load some CSS files into the concat task,
> but they need to be a
> certain order. How should I do this? Maybe number
> the file names? Is there
> any build in fileset functionality for this?
> Alex
>
In Ant 1.7+, you can use any resource coll
I need to load some CSS files into the concat task, but they need to be a
certain order. How should I do this? Maybe number the file names? Is there
any build in fileset functionality for this?
Alex
Hi
It seems I got through. To recap, I am building ant 1.7.0 from
source on redhat linux enterprise server (AMD 64). My destination
$ANT_HOME environmental variable is set as /usr/local/home. Below's
a successful procedure. My comments are in parentheses.
cd /usr/local
mkdir ant
cd ant
should work. Something else is wrong.
- Alexey.
Loehr, Ruel wrote:
Hoping some others might have some insight, I've googled around for 2
days but haven't yet found an answer that seems right.
I have a project which is c++ based and have created an ant wrapper
around it to checkout, build,
Some of the links on the website do not seem
to be working. Can anyone advise on the link
to download the Source Code Java Development with Ant
(2003)??
Bob
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Wayne Cannon wrote:
I'll second that recommendation. It's an excellent tutorial and very
well indexed so it also serves as an excellent reference.
--Wayne
Why thank you. It is always best to hear the opinions of unbiased
readers. Incidentally, in the articles section i'm going to add some
Loehr, Ruel wrote:
Hoping some others might have some insight, I've googled around for 2
days but haven't yet found an answer that seems right.
I have a project which is c++ based and have created an ant wrapper
around it to checkout, build, build an installer, and publish the
project. This
Hi Alexey,
I am getting somewhere! Please stay with me just a bit longer.
I bent your instruction just a bit and typed:
bootstrap.sh -f fetch.xml -Ddest=optional all
which downloaded some files and built a bunch of targets
as specified by xml target "all". And it came back with
BUILD
bootstrap.sh -f fetch.xml all
I also see the error, but fetch.xml is executed normally.
- Alexey.
Tena Sakai wrote:
Hi Alexey,
What about "bootstrap.sh -f fetch.xml"?
I just did that and got:
++
[EMAIL PROTECTED] apache-ant-1
Hoping some others might have some insight, I've googled around for 2
days but haven't yet found an answer that seems right.
I have a project which is c++ based and have created an ant wrapper
around it to checkout, build, build an installer, and publish the
project. This part works pretty wel
Hi Alexey,
> What about "bootstrap.sh -f fetch.xml"?
I just did that and got:
++
[EMAIL PROTECTED] apache-ant-1.7.0]$ bootstrap.sh -f fetch.xml
... Bootstrapping Ant Distribution
... Compiling Ant Classes
Note: Some input files use or overr
What about "bootstrap.sh -f fetch.xml"?
- Alexey.
Tena Sakai wrote:
Hi Peter,
I don't have ANT_SRC set. I supposed it is in
$ANT_HOME/src, but I issued a command:
find /usr/local/ant/apache-ant-1.7.0 -name ant
and it came back with:
/usr/local/ant/apache-ant-1.7.0/src/etc/poms/ant
Hi Alexey,
I don't have bootstrap directory anywhere under the
distribution tree. What I have is:
/usr/local/ant/apache-ant-1.7.0/src/etc/poms/ant
/usr/local/ant/apache-ant-1.7.0/src/etc/testcases/taskdefs/ant
/usr/local/ant/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant
/
Hi Peter,
I don't have ANT_SRC set. I supposed it is in
$ANT_HOME/src, but I issued a command:
find /usr/local/ant/apache-ant-1.7.0 -name ant
and it came back with:
/usr/local/ant/apache-ant-1.7.0/src/etc/poms/ant
/usr/local/ant/apache-ant-1.7.0/src/etc/testcases/taskdefs/ant
/
Run as following: .\bootstrap\bin\ant -f fetch.xml
- Alexey.
Tena Sakai wrote:
Hi Peter,
I like what you mention. I located and looked at the
file fetch.xml. I would like to pursue this avenue.
But I am clueless as to how I can "invoke" this xml
file. Would you please tell me how I can do s
On 7/23/07, Tena Sakai <[EMAIL PROTECTED]> wrote:
Hi Peter,
I like what you mention. I located and looked at the
file fetch.xml. I would like to pursue this avenue.
But I am clueless as to how I can "invoke" this xml
file. Would you please tell me how I can do so?
Thank you.
use ant.
cd $AN
Hi Peter,
I like what you mention. I located and looked at the
file fetch.xml. I would like to pursue this avenue.
But I am clueless as to how I can "invoke" this xml
file. Would you please tell me how I can do so?
Thank you.
Tena Sakai
[EMAIL PROTECTED]
-Original Message-
From: Pete
Hi Alexey,
Thanks for your reply. I would like to dispute what you
mention. Here's what happens in a bit more detail demarcated
by two lines of plus signs, within which my comments are in
angular brackets.
+
[EMAIL PROTECTED] apach
On 7/23/07, Alexey Solofnenko <[EMAIL PROTECTED]> wrote:
I do not think you need to download any jars, if you are building ANT
for yourself - you have to have all necessary jars already to run ANT.
This is not quite correct.
The optional tasks/types need jars to be downloaded and
placed in $ANT
I do not think you need to download any jars, if you are building ANT
for yourself - you have to have all necessary jars already to run ANT.
I have an automated script to build ANT. First, the script empties
CLASSPATH, sets JAVA_HOME and PATH. Then copies all necessary jars into
$ANT_DIR/lib/
Hi,
Sorry to repost, but I haven't got much response...
I am having a problem with installing ant 1.7.0 from source
on redhat enterprise server (amd-64).
What happens is that when I issue a command:
sh build.sh -Ddist.dir=/usr/local/ant dist
it complains that a bunch of jar files were not bu
I'll second that recommendation. It's an excellent tutorial and very
well indexed so it also serves as an excellent reference.
--Wayne
Steve Loughran wrote:
Sayed, Irfan (Irfan) wrote:
Hi All,
I am very new to the Ant world. Really want to learn ant scripting
(build.xml) from scratch. I al
It seems that apache2 was triggering it. I commented out 'AddEncoding
x-gzip gz tgz' from my apache2.conf, and that seems to be enough for it
to arrive still compressed.
On Sat, 21 Jul 2007, Alex Egg wrote:
> Could apache be doing it??
>
> On 7/21/07, Simon P. Ditner <[EMAIL PROTECTED]> wrote:
>
There are a number of problems with the example task:
- The opening and closing tag names do not match ("fileutil" vs. "fileutils").
- The tag is not closed.
Even after correcting for these, I get an error message from ant when I run the
target:
-
I also recommend the beginner tutorial "Hello World with Ant"
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html
Jan
>-Ursprüngliche Nachricht-
>Von: Steve Loughran [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 23. Juli 2007 14:46
>An: Ant Users List
>Betreff: Re: Ant help
>
www.kasamba.com/Pushkar
-Original Message-
From: Sayed, Irfan (Irfan) [mailto:[EMAIL PROTECTED]
Sent: Monday, July 23, 2007 6:03 PM
To: user@ant.apache.org
Subject: Ant help
Hi All,
I am very new to the Ant world. Really want to learn ant scripting
(build.xml) from scratch. I already v
Sayed, Irfan (Irfan) wrote:
Hi All,
I am very new to the Ant world. Really want to learn ant scripting
(build.xml) from scratch. I already visited to ant.apache.org but never
find any procedure to write small scripts or basics about writing
script.It's a very high level description.
Can some
Hello!
Try http://ant.apache.org/manual/index.html
Click "Using Ant" in menu on the left pane, then "Writing a Simple Buildfile".
>>> Sayed, Irfan (Irfan) <[EMAIL PROTECTED]> Monday, July 23, 2007, 7:33:20 PM
>>> wrote:
SII> Hi All,
SII> I am very new to the Ant world. Really want to learn a
Hi All,
I am very new to the Ant world. Really want to learn ant scripting
(build.xml) from scratch. I already visited to ant.apache.org but never
find any procedure to write small scripts or basics about writing
script.It's a very high level description.
Can somebody has any ppt or good study
Thanks.
i tried
It worked.
Thanks
sameer
- Original Message
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: user@ant.apache.org
Sent: Monday, July 23, 2007 3:05:46 PM
Subject: AW: Regarding .policy file
Try a nested element.
extends (as the manual sais at the beginning).
Jan
Try a nested element.
extends (as the manual sais at the beginning).
Jan
>-Ursprüngliche Nachricht-
>Von: Sameer Borwankar [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 23. Juli 2007 11:25
>An: Ant Users List
>Betreff: Regarding .policy file
>
>Hi All,
>In my folder structure, .policy
Hi All,
In my folder structure, .policy file is present in root>application folder.
After running the ANT script, i want this policy file in META-INF folder where
application.xml file is lying.
While creating EAR file, path for application.xml file is denoted as applxml =
path
Is there similar t
Jan
>-Ursprüngliche Nachricht-
>Von: Mario Madunic [mailto:[EMAIL PROTECTED]
>Gesendet: Samstag, 21. Juli 2007 16:25
>An: Ant Users List
>Betreff: Re: random number generator
>
>Thank you Gilbert,
>
>it works like a charm.
>
>Mario
>
>Quoting Gilbert Rebhan <[EMAIL PROTE
43 matches
Mail list logo