I get in both
macrodef's and Ant Contrib for...
I'm completely open to not creating a macrodef on the fly if there is a
simple way to get that param expansion working easily :) I'm looking to
do something like this:
On Thu, 8 Dec 2011, Scot P. Floess wrote:
All,
All,
I have what may seem like a strange question... I was looking through the
source for Ant Contrib's ForTask.java... I see it uses MacroDef
internally as well as MacroInstance to execute().
I've got a script def that has a child element entitled "sequential" of
type org.apache.tools.ant
>I've written a custom ant task that performs Checkstyle only
>on modified
>files. Or on files modified since some revision.
>
>The purpose is to gradually introduce a code quality policy on legacy
>projects.
>
>I plan to submit a patch back, meantime if you need it *now*,
>then email me
>(uses
Jan
>-Ursprüngliche Nachricht-
>Von: jasper.blues [mailto:jasper.reloa...@gmail.com]
>Gesendet: Mittwoch, 20. Januar 2010 08:41
>An: user@ant.apache.org
>Betreff: Re: Creating a fileset from a list of filenames
>
>
>I've written a custom ant
>
>
>
>
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you rec
>
> On Tue, Nov 3, 2009 at 1:33 PM, Wray, Nathan wrote:
> Hi David,
>
> It has to do with the procedures I'm trying to piggyback onto. The ant
> target creates some required code review documentation. The goal is to
> have the ant target fail, rather than having the commit fail as you
> typically
ist
Subject: Re: Creating a fileset from a list of filenames
Just curious: Why are you using Ant for this?
Why not have a post-commit script that runs the check on these files?
Or, even better, use Hudson which is a continuous build system. It'll
automatically run your build everytime someo
Just curious: Why are you using Ant for this?
Why not have a post-commit script that runs the check on these files?
Or, even better, use Hudson which is a continuous build system. It'll
automatically run your build everytime someone does a Subversion checkin.
Plus, it has a CheckStyle plugin whic
--- On Tue, 11/3/09, Wray, Nathan wrote:
> From: Wray, Nathan
> Subject: Creating a fileset from a list of filenames
> To: user@ant.apache.org
> Date: Tuesday, November 3, 2009, 7:16 AM
> Hi All;
>
>
>
> I'm trying to identify modified java files in
Hi All;
I'm trying to identify modified java files in an SVN working copy and
run checkstyle on these files. So far I've got a property with a list
of everything modified like:
/path/file1;/path/file2;/path/file3
It seems like I need something the opposite of pathconvert to turn this
p
]
Gesendet: Mittwoch, 14. Oktober 2009 09:37
An: user@ant.apache.org
Betreff: Creating a keygeneration task using ant.
Hi, I've been spending some time migrating most of a building environment over
to ant to provide a simpler and cross-system building solution for a
client/server java applic
Hi, I've been spending some time migrating most of a building environment over
to ant to provide a simpler and cross-system building solution for a
client/server java application and i got kinda stuck at one particular step
when it comes to creating SSL keys.
I found the wonderful task Genkey
On Tuesday 7 April 2009 14:55:33 Martin Gainty's cat walking on the keyboard
wrote:
> what does the jar's manifest display?
Here it is:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 10.0-b23 (Sun Microsystems Inc.)
Built-By: luca
Main-Class: g2.main.Main
Class-Path: aspectjrt.j
inito.it
> To: user@ant.apache.org
> Subject: Re: AW: classpath problem when creating a jar
> Date: Tue, 7 Apr 2009 13:53:04 +0200
>
> On Tuesday 7 April 2009 13:43:41 jan.mate...@rzf.fin-nrw.de's cat walking on
> the keyboard wrote:
> > So you got a directory layout w
On Tuesday 7 April 2009 13:43:41 jan.mate...@rzf.fin-nrw.de's cat walking on
the keyboard wrote:
> So you got a directory layout with
>
> .../
>
>| app.jar {Class-Path: ./conf }
>
>+-- conf
> *.properties
Yes, that's the final layout. But I don't get why it is not working.
Luca
>I've got my source tree that includes a conf directory with different
>configuration files, including a resource bundle properties file.
>Now in the jar task of my build file I've got the following entry:
>
>
>
>and before that I have a task that copies the conf directory
>in the deployment dir
Hi all,
I've got my source tree that includes a conf directory with different
configuration files, including a resource bundle properties file.
Now in the jar task of my build file I've got the following entry:
and before that I have a task that copies the conf directory in the deployment
dir
I wrote a java program to perform pre-commit processing for subversion. I had
originally written it with a static main. I removed the static definition from
the main class. I can't seem to find a way to declare the manifest. What I
currently have is:
src/process_checkin/manifest.mf contains:
M
Dimitris Mouchritsas wrote:
Steve Loughran wrote:
Steve, creating a tmp dir to create a complicated structure inside a jar
file is the recommended approach? Is there a better way to do it? If the
tmp dir is the way to go I suppose it's best not to delete this dir,
except on a &
ribute
Steve, creating a tmp dir to create a complicated structure inside a jar
file is the recommended approach? Is there a better way to do it? If the
tmp dir is the way to go I suppose it's best not to delete this dir,
except on a "clean" build right? This would allow for t
Luca Ferrari wrote:
On Wednesday 20 February 2008 Dimitris Mouchritsas's cat, walking on the
keyboard, wrote:
So for example you create:
/dist
tmp/
classes/
img/
lib/
and then you etc.
But in this case into the jar I will have also the classes directory, while it
should
On Wednesday 20 February 2008 Dimitris Mouchritsas's cat, walking on the
keyboard, wrote:
> So for example you create:
> /dist
>tmp/
> classes/
> img/
> lib/
>
> and then you basedir="${dist.dir}/tmp/"> etc.
But in this case into the jar I will have also the classes directo
Luca Ferrari wrote:
Hi guys,
I've got a problem creating a buildfile for a project of mine, where I'd like
also to build a jar as final step. This is source tree:
projectRoot
+src // java sources
+srcTest // junit sour
Hi guys,
I've got a problem creating a buildfile for a project of mine, where I'd like
also to build a jar as final step. This is source tree:
projectRoot
+src // java sources
+srcTest // junit sources
+img // ic
Just use the
(http://ant.apache.org/manual/CoreTasks/concat.html) task to create your
property file in any way you like.
Sam.
Z W <[EMAIL PROTECTED]> wrote: Hi
I have a list of properties in a properties file.
I like to write these property values into a file to be used as an input to
a shell
You may want to look at the echo command. You should be able to use something
like:
Property_Name : ${Property_Name}
You can create fairly complex files this way. You may have to set append to
false for the first echo just in case you are re-using the file.
Z W <[EMAIL PROTECTED]> wrote: Hi
I
1) before
2) with a
Jan
> -Ursprüngliche Nachricht-
> Von: Z W [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 13. Februar 2008 10:54
> An: Ant Users List
> Betreff: Re: Creating a list of entries
>
> This task seems to replace/overwrites the existing file
t; On Feb 13, 2008 12:56 AM, <[EMAIL PROTECTED]> wrote:
>
> > replacint "=" by " : " ?
> >
> > Jan
> >
> > > -Ursprüngliche Nachricht-
> > > Von: Z W [mailto:[EMAIL PROTECTED]
> > > Gesendet: Mittwoch, 1
n: Z W [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 13. Februar 2008 09:30
> > An: Ant Users List
> > Betreff: Re: Creating a list of entries
> >
> > Jan
> >
> > I have a list of entries in a properties file
> >
> > apple=1
> > orange
replacint "=" by " : " ?
Jan
> -Ursprüngliche Nachricht-
> Von: Z W [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 13. Februar 2008 09:30
> An: Ant Users List
> Betreff: Re: Creating a list of entries
>
> Jan
>
> I have a list of entri
t; wrote:
> My first thought was:
> My second thought is: what do want to achieve? Can you post an example?
>
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von: Z W [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 13. Februar 2008 07:48
> > An: Ant
My first thought was:
My second thought is: what do want to achieve? Can you post an example?
Jan
> -Ursprüngliche Nachricht-
> Von: Z W [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 13. Februar 2008 07:48
> An: Ant Users List
> Betreff: Creating a list of entries
Hi
I have a list of properties in a properties file.
I like to write these property values into a file to be used as an input to
a shell script using sshexec task.
I like to know if there's way to achieve this using Ant.
Any suggestions ?
Thanks
>
> You could leave that or you have to use and encode the
> xml-charachter (<>&...).
Now that I look again the declaration is not really necessary :P
I have a little perl script for masking - for my own need:
>
> ---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-<-
<exec executable="svn">
<arg value="co"/>
<arg value="http://foo.com/svn/repos/"; />
</exec>
</target>
</project>
Jan
-Ursprüngliche Nachricht-
Von: Vihan Pande
Hello,
I have an a build file which generates another build file and then
executes it. I am creating the 2nd build file via an echo task to the file.
Something like this :
this is deploy.xml :
I'm fairly new to extending Ant using custom tasks. I need to create a
Zip Task programmatically in order to package a set of directories. So
far, I've come up with the following. Basically, I'm creating a Zip Task.
Then I'm adding ZipFileSets to the Zip Task. Everyt
taskdefs/EcoreGeneratorTask.html
-Ursprüngliche Nachricht-
Von: Dominique Devienne [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 29. Oktober 2006 01:12
An: Ant Users List
Betreff: Re: Problem creating a task to generate java from an EMF model
On 10/27/06, anne robert <[EMAIL PROTECTED]> wrote:
her
adoc/org/eclipse/emf/importer/ecore/taskdefs/EcoreGeneratorTask.html
>-Ursprüngliche Nachricht-
>Von: Dominique Devienne [mailto:[EMAIL PROTECTED]
>Gesendet: Sonntag, 29. Oktober 2006 01:12
>An: Ant Users List
>Betreff: Re: Problem creating a task to generate java from an E
On 10/27/06, anne robert <[EMAIL PROTECTED]> wrote:
here is the debug trace
It appears that the class is loaded OK, yet you get an exception when
Ant calls the constructor for the task. Sorry, but I don't know why.
Are you sure this is a valid task? --DD
---
Hi,
here is the debug trace
Thanks for your help,
Anne Robert
--
Anne Robert | tel : (+33) (0)4 56 52 04 44
VERIMAG | fax : (+33) (0)4 56 52 03 44
Centre Equation |
F - 38610 Gieres | e-ma
Please run the build in debug mode an add the stacktrace.
Jan
>-Ursprüngliche Nachricht-
>Von: anne robert [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 26. Oktober 2006 11:02
>An: user@ant.apache.org
>Betreff: Problem creating a task to generate java from an EMF mod
Hi,
I am trying to generate the java classes for an EMF model, using ant.
I ave defined the emfGen task to call emf generation. when I call this
task, I have the following error :
BUILD FAILED
/home/arobert/workspace/CGenerator/build.xml:13: Could not create type
emfGen du e to java.lang.Insta
thanks Matt, works great!
Matt Benson wrote:
You talk about keeping your file indented correctly...
I wouldn't consider that necessary anyway... In any
event, the attached buildfile shows how to use concat
or echo, sacrificing formatting, then using a task per
line.
-Matt
--- Rakesh Patel <[E
You talk about keeping your file indented correctly...
I wouldn't consider that necessary anyway... In any
event, the attached buildfile shows how to use concat
or echo, sacrificing formatting, then using a task per
line.
-Matt
--- Rakesh Patel <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> can you
Hi Matt,
can you give me an example of using ? I am already using
fixlastline=true with no result.
Thanks
Rakesh
Matt Benson wrote:
--- Rakesh Patel <[EMAIL PROTECTED]> wrote:
Hi,
almost there with the concat task but am having
problems with keeping my
build.xml file formatted corre
--- Rakesh Patel <[EMAIL PROTECTED]> wrote:
> Hi,
>
> almost there with the concat task but am having
> problems with keeping my
> build.xml file formatted correctly and giving the
> text to pass in ie if
> each line is indented, the indents go into the file.
>
> I tried individual staements b
Hi,
almost there with the concat task but am having problems with keeping my
build.xml file formatted correctly and giving the text to pass in ie if
each line is indented, the indents go into the file.
I tried individual staements but i can't seem to generate a new line.
Here's what i have s
user
scott
tiger
put *.war
quit
or with use of properties
user
${db.user}
${db.pwd}
put *.war
quit
Jan
>that seems to only produce name value pairs. Unfortunately,
>the file i want to create looks more like this:
>
>user
>scott
>tiger
>put *.war
>quit
---
that seems to only produce name value pairs. Unfortunately, the file i
want to create looks more like this:
user
scott
tiger
put *.war
quit
Cheers
Rakesh
Steve Loughran wrote:
Rakesh Patel wrote:
Hi,
looking at the core ant tasks, i couldn't see any obvious way to
create a text file on
Rakesh Patel wrote:
Hi,
looking at the core ant tasks, i couldn't see any obvious way to create
a text file on the fly and put text in it.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Hi,
looking at the core ant tasks, i couldn't see any obvious way to create
a text file on the fly and put text in it.
Any ideas?
Cheers
Rakesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
On Mon, 23 Jan 2006, none ofyourbusiness <[EMAIL PROTECTED]> wrote:
> Thats why we would like to make these dependancies optional for
> these 2 targets. We would like check for the availibilty of these
> jars only if the target is something else then "clean" or "package"
.. check for jar
hi,
In our ant script we do an antcall at a certain moment. This antcall call's
another xml ant script with a specific target. This called xml ant script
contains a project with mulitple targets, and outside those targets, it also
checks for the availability of certain 3th party jars and puts
-4014
-Original Message-
From: Jeffrey E Care [mailto:[EMAIL PROTECTED]
Sent: Monday, August 22, 2005 1:23 PM
To: Ant Users List
Subject: Re: Creating a custom task library
http://ant.apache.org/manual/CoreTypes/antlib.html
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release
http://ant.apache.org/manual/CoreTypes/antlib.html
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Mark Claassen <[EMAIL PROTECTED]> wrote on 08/22/2005 02:14:24 PM:
> Is there any way to include the task definition descriptors
Is there any way to include the task definition descriptors in a jar file,
AKA custom tag libraries in JSP?
For instance, I create a library with two tasks, HelloEarth and HelloMars.
To use this I need to define the tasks using taskdef statements in my other
ant scripts. It would be cool to incor
> From: Paul Goepfert [mailto:[EMAIL PROTECTED]
>
> I am creating a WAR task in my build.xml file. How do I move two
> configuration xml files that are not my web.xml file to my war file? I
> would like to have these files in a dir called conf within the WEB-INF
> file.
I
Hi all,
I am creating a WAR task in my build.xml file. How do I move two
configuration xml files that are not my web.xml file to my war file? I
would like to have these files in a dir called conf within the WEB-INF file.
-Paul
; wrote:
> Hello Hanasaki,
>
> I wonder whether there is not something like that in
> Ant 1.7.
> Matt ? Peter ?
>
> Cheers,
>
> Antoine
> > --- Ursprüngliche Nachricht ---
> > Von: hanasaki <[EMAIL PROTECTED]>
> > An: Ant Users List
> > B
Hello Hanasaki,
I wonder whether there is not something like that in Ant 1.7.
Matt ? Peter ?
Cheers,
Antoine
> --- Ursprüngliche Nachricht ---
> Von: hanasaki <[EMAIL PROTECTED]>
> An: Ant Users List
> Betreff: Re: creating a Datum: Tue, 24 May 2005 00:47:13 -0500
>
works like a champ!thanks... hmm anyway to do a zipfileset in a path?
Antoine Levy-Lambert wrote:
Hello Hanasaki,
what you can do is nest a
in your war task invocation.
Cheers,
Antoine
hanasaki wrote:
how
Hello Hanasaki,
what you can do is nest a
in your war task invocation.
Cheers,
Antoine
hanasaki wrote:
how can some .jar files from one WAR be added to another WAR?
how can some .jar files from one WAR be added to another WAR?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
...
Jan
> -Ursprüngliche Nachricht-
> Von: Marion, Patrick [mailto:[EMAIL PROTECTED]
> Gesendet am: Samstag, 5. Februar 2005 00:38
> An: 'user@ant.apache.org'
> Betreff: creating a fileset and using it later with
>
> Is it possible to creat
Is it possible to create a fileset at somepoint with a "refid" of some sorts
and refer to this refid later on in a task?
Thanks.
P
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
;> the "Concepts and Types" link on the left.
>>
>>
> Also, it is only in ant 1.6+ that one can have custom conditions.
>
>
>>
>>
>>> -Original Message-
>>> From: Jeffrey Bacon [mailto:[EMAIL PROTECTED]
>>>
y, June 17, 2004 3:37 PM
To: Ant Users List
Subject: Re: creating a custom Condition
thanks. Is there documentation for this anywhere? I read "Java
Development with Ant" by Erik Hatcher & Steve Loughran which coevers Ant
1.5 and it didn't mention this.
Hopefully there will be a new
Thanx but i wanted to create the whole VersionDate.java file and not only the date to
be displayed.
Pritesh Saharey
BE(Mech)
Software Engineer
Apsora(Ind.)Pvt. Ltd., Pune
http://www.apsora.com
http://in.geocities.com/priteshsaharey/
--- RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote:
Pritesh,
T
t; Gesendet: Montag, 23. Februar 2004 14:00
> An: Ant Users List
> Betreff: Re: Creating a java file
>
> Pritesh,
>
> Take a look at FilterSets in the manual, under "Concepts and Types".
>
> /t
>
>
> Pritesh saharey wrote:
>
> >Hello All,
Pritesh,
Take a look at FilterSets in the manual, under "Concepts and Types".
/t
Pritesh saharey wrote:
Hello All,
A very simple problem for you, i would like to create a java file using ant in
which i want to a code something like this
//
public class VersionDate { publ
Hello All,
A very simple problem for you, i would like to create a java file using ant in
which i want to a code something like this
//
public class VersionDate { public static String VersionDate = " Mon Dec 15 17:16:45
IST 2003 ";}
//
In this java code Ver
Hi,
I have quite a few ant projects and sub-projects for building our whole
stack.
The master ant script basically calls a bunch of ant scripts in the
tree, what I
am interested in is creating a final build summary output file, which
will give
a snapshot of the whole build.
For example : the
73 matches
Mail list logo