Generating CycloneDX sbom files for ant builds

2022-05-11 Thread Patrick
I'm trying to add Dependency-Track analysis to Jenkins builds. The Dependency-Track application requires CycloneDX sbom files as input. For our Gradle projects, this was fairly straightforward as there's a Gradle plugin that will generate the sbom files. However, I'm struggling with our many legacy

FTP Jar dependencies Ant 1.8.4

2013-08-04 Thread Patrick Fay
Hi, I am having issues trying to use the FTP task with Ant 1.8.4. I have included the necessary jar files in my ant/lib folder as shown below however the ftp task is still been listed unavailable due to a missing dependency (com.oroinc.net.ftp.FTP). Is this a known bug with this version. Any sugge

avoid duplicates with pathconvert and mappers

2013-04-15 Thread Patrick Martin
gets duplicated. Is there anyway I can avoid this dupe? The pathconvert attribute preserveduplicates="false" does not bring any help here. I also tried the uniq filter in a filtermapper, without luck. Thank you in advance, Patrick

Re: zip from zip with mappers

2012-11-20 Thread Patrick Martin
Hello, Thank you for your reply, Is there any way this can be available, in the compress antlib maybe? Is the addition of support directly in not possible either (so we could make use of the zipfileset nested directly, but mapping zip entry names at the last step)? Thank you again, Patrick

zip from zip with mappers

2012-11-19 Thread Patrick Martin
individually and thus scan the source zip each time. Is there any other possibility to achieve zip to zip transfer with mapping / transformation (and filtering with include/exclude patterns) ? Or is there any way to add support in ? Thank you, Patrick

wait for sftp resource

2012-08-06 Thread Patrick Martin
files over sftp, but I could not find anything for file listing or checking. Any idea? Thanks, Patrick - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Mail task with mail.jar & activation.jar out of lib folder

2011-01-20 Thread Patrick Martin
Thank you all for your feedback, it's much clearer now. Patrick On Thu, Jan 20, 2011 at 6:30 AM, Antoine Levy-Lambert wrote: > On 1/19/11 9:46 PM, Michael Ludwig wrote: >> But I still haven't understood the underlying issue. What's so special about >> mail.jar t

Re: Mail task with mail.jar & activation.jar out of lib folder

2011-01-19 Thread Patrick Martin
Hello, I just realized that the correct class shuold probably be org.apache.tools.ant.taskdefs.email.EmailTask. But I still end up with an error: java.lang.ClassNotFoundException: javax.activation.DataHandler Thanks, Patrick On Wed, Jan 19, 2011 at 10:31 AM, Patrick Martin wrote: > He

Mail task with mail.jar & activation.jar out of lib folder

2011-01-19 Thread Patrick Martin
) at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:594) ... 18 more I am using ant 1.8.2. Thanks, Patrick - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail

Re: launch Ant from Java code

2011-01-12 Thread Patrick Martin
set/read from parallel ant projects. I'd also be interested in running ant tasks in parallel on *different* versions of Ant (for script migrations purposes), which would probably lead to using different class loaders. Is that something feasible? Thanks again, Patrick On Wed, Jan 12, 2011

launch Ant from Java code

2011-01-12 Thread Patrick Martin
? p.getDefaultTarget() : target); p.fireBuildFinished(null); } catch (BuildException e) { p.fireBuildFinished(e); [...] } finally { [...] } Thank you, Patrick - To unsubscribe, e-mail: user-unsubscr..

Re: Copying a static list of files

2010-06-26 Thread Patrick Martin
n filename" issue) or to add additional selectors in a resource collection in order to simulate include and exclude patterns. Would it also work to add elements in a as suggested by Stefan ? Thanks, Patrick On Fri, Jun 25, 2010 at 4:57 PM, Matt Benson wrote: > > On Jun 25, 2010, at 9:

Re: Copying a static list of files

2010-06-25 Thread Patrick Martin
tribute into account ? On Fri, Jun 25, 2010 at 4:21 PM, Patrick Martin wrote: > I still don't get how will know which basedir to take from the > source files in order to recreate the correct folder structure in the > "todir" folder. > Let's say that my file list co

Re: Copying a static list of files

2010-06-25 Thread Patrick Martin
xt //host/share/dir1/three files.txt I loaded that in my property. Then:         How will copy know it should take files in //host/share/dir1 or in //host/share for example? On Fri, Jun 25, 2010 at 4:08 PM, Stefan Bodewig wrote: > On 2010-06-25, Patrick Martin wrote: > >> This looks

Re: Copying a static list of files

2010-06-25 Thread Patrick Martin
This looks really promising! How do you use it with copy? where is the equivalent of the "dir" attribute of or ? On Fri, Jun 25, 2010 at 3:11 PM, Stefan Bodewig wrote: > On 2010-06-25, Michael Ludwig wrote: > >> Patrick Martin schrieb am 25.06.2010 um 09:06 (+0200): >

Re: Copying a static list of files

2010-06-25 Thread Patrick Martin
n Thu, Jun 24, 2010 at 11:17 PM, Michael Ludwig wrote: > Patrick Martin schrieb am 24.06.2010 um 21:21 (+0200): >> Sorry, I meant to say that "spaces in filenames are unfriendly with >> filelist", not filesets > > Not sure I understand the problem you

Re: Copying a static list of files

2010-06-24 Thread Patrick Martin
Sorry, I meant to say that "spaces in filenames are unfriendly with filelist", not filesets On Thu, Jun 24, 2010 at 9:17 PM, Patrick Martin wrote: > Hello, > > My problem is not so much with slashes and back-slashes (which i am > quite used to deal with), but rather wi

Re: Copying a static list of files

2010-06-24 Thread Patrick Martin
t work properly with . Rgds, Patrick On Thu, Jun 24, 2010 at 6:22 PM, Martin Gainty wrote: > > Good Afternoon Patrick- > > > > Ant uses the filesystem which is provided by the Operating System > > so if your on Windows using NTFS and your installation folder for program &g

Copying a static list of files

2010-06-24 Thread Patrick Martin
opied): would anyone have an idea? Thanks, Pa

multiple mappings and copy

2010-05-02 Thread Patrick Martin
Hello, when using , are the source files read only once or as many times as there are mappings? for example How many times should the file be read? Thanks, Patrick

loop replace mapper

2010-05-01 Thread Patrick Martin
return mappedFileNames; } public void setFrom(String from) { } public void setTo(String to) { } } Rgds, Patrick - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional c

Re: using compositemappers with zip

2010-04-21 Thread Patrick Martin
Hello, By the way, do you have any idea when ant 1.8.1 will be publicly released? Last mail I saw on this was 5 days ago, from Antoine. Rgds, On Wed, Apr 21, 2010 at 11:05 AM, Patrick Martin wrote: > Great! thanks a lot. > > On Wed, Apr 21, 2010 at 10:31 AM, Stefan Bodewig wrote: &

Re: using compositemappers with zip

2010-04-21 Thread Patrick Martin
Great! thanks a lot. On Wed, Apr 21, 2010 at 10:31 AM, Stefan Bodewig wrote: > On 2010-04-21, Stefan Bodewig wrote: > >> That being said, it would make absolute sense to implement >> enablemultiplemappings at the level so all tasks would >> benefit from it. > > Added with svn revision 936200 to

using compositemappers with zip

2010-04-20 Thread Patrick Martin
: but I only obtained 1 file in the zip: /dir1/file1 Would you have any idea? The same idea would work in , using the attribute "enablemultiplemappings". Thanks, Patrick - To unsubscribe, e-mail: use

Re: Basic question re Antform and conditional execution of tasks

2010-02-26 Thread Patrick Martin
Hello, Indeed, if your 'Omit_Optional_Partx' targets are not part of any depends attribute, they will not get called. You should probably have something like: ... ... ... ... ... Rgds, Patrick On Thu, Feb 25, 2010 at 6:43 PM, Rhino wrote: > Thank you, Patrick, for

Re: Basic question re Antform and conditional execution of tasks

2010-02-25 Thread Patrick Martin
not value. You could still go with checkSelectionProperty, using an antcontrib or to loop on the result list. But it might be easier to just go with booleanProperty. Rgds, Patrick On Thu, Feb 25, 2010 at 12:41 AM, Rhino wrote: > I was reasonably comfortable with Ant a few years ago but have

Re: AntForm project

2010-02-15 Thread Patrick Martin
cancel and continue your script. Rgds, Patrick 2010/2/15 Martin Gainty > > Good Evening Patrick- > > Could you provide a brief explanation of the capabilities of this project and > how we can implement Antform in a Ant Task? >

Re: AntForm project

2010-02-14 Thread Patrick Martin
'll try to answer if I can. Cheers, Patrick 2010/2/6 Robert Kirkpatrick > Hi, > > I recently tried the antForm extension which is promising. > I subscribed to the antforms-u...@lists.sourceforge.net mailing list to > request some info lacking the user manual. > Unfortuna

Re: [ant] Determining relative paths resp. substring?

2009-01-30 Thread Patrick Martin
Hello, I think you can strip the prefix by using with a . Cheers, Patrick On Sat, Jan 17, 2009 at 11:32 PM, Georg-Johann Lay wrote: > Georg-Johann Lay schrieb: >> >> Hi, >> >> can anyone assist me in solving this following quite trivial problem? >> >> G

Re: How to import a Java class from a package in a different folder

2009-01-13 Thread Patrick Waugh
This isn't an ANT issue, you would create a user library with Eclipse and add it to your build path. On Tue, Jan 13, 2009 at 8:07 AM, ilango_g wrote: > > Hi > I have an Eclipse project that generates a EAR. My problem is as follows: > The root folder of the project is: > DC-Integrated > > Unde

Re: ant for and foreach tasks use them or not

2009-01-12 Thread patrick wyss
... i'll be back if i run in problems doing this ;-) thanks patrick -- View this message in context: http://www.nabble.com/ant-for-and-foreach-tasks-use-them-or-not-tp21353056p21412108.html Sent from the Ant - Users mailing list archive at Nabble.com. --

sudden problem with ftp to site

2009-01-10 Thread Patrick Waugh
All of a sudden, when I run my usual build script, I get this: [ftp] sending files BUILD FAILED /home/patrick/repo/dib/common/build.xml:103: could not put file: 425 Could not open data connection to port 50055: Connection timed out The site is up and running, and I can connect to it myself from

ant for and foreach tasks use them or not

2009-01-08 Thread patrick wyss
hi there, i have the reqirement to do a java call for each file in a filelist. first i tought i'd use the "Apply" task, but then again i do not realy want to start a new process and load a new JVM etc. for each file i handle. so next i tried with macrodef but this gets rather clumsy when a lot

Re: ANT failing from command line

2008-12-02 Thread Patrick Waugh
xe to find all versions currently on your hard drive. Patrick On Tue, Dec 2, 2008 at 12:00 PM, Barry Pape <[EMAIL PROTECTED]> wrote: > If you run the command 'which ant' does it return the location of the > 1.6.2 version that is being picked up? > > -Original Message

Re: differenet ant script for different plateform?

2008-11-28 Thread Patrick Waugh
You can check to see which platform you are compiling on by looking at some default properties, and then run the proper exec task based on that with ac:if (ant contrib:if) On 11/28/08, Kate McCole <[EMAIL PROTECTED]> wrote: > > Hi, I'm new to ant and I have to write an ant build. > I saw some tas

Re: Can't get output of exec to property

2008-11-22 Thread Patrick Waugh
Not sure how exactly, but I fixed it and it works now. Basically, I changed hg.rev to "revision" and it seems that was the problem. Patrick On Sat, Nov 22, 2008 at 11:58 AM, Patrick Waugh <[EMAIL PROTECTED]> wrote: > Hi, > > This

Can't get output of exec to property

2008-11-22 Thread Patrick Waugh
shows this: id: [echo] hg = [propertyfile] Updating property file: /home/patrick/repo/dib/dib_8800/build.properties In other words, the property is never getting set! What am I missing Thanks, patrick - To unsubscribe,

Re: rapc problem

2008-11-22 Thread Patrick Waugh
OMG, I'm so stuipd! I even checked that but didn't see it. Think I need new glasses! Thanks! Patrick On Sat, Nov 22, 2008 at 11:30 AM, Gilbert Rebhan <[EMAIL PROTECTED]> wrote: > Patrick Waugh schrieb: >> Hi guys, >> >> I

rapc problem

2008-11-22 Thread Patrick Waugh
Hi guys, I'm using this: and trying to add the quiet attribute, but get this: BUILD FAILED /home/patrick/repo/dib/common/build.xml:170: The following error occurred while executing this line: /home/patrick/repo/dib/common/build.xml:56: rapc do

Re: external tasks configuration question

2008-11-15 Thread Patrick Waugh
nfigured? > > Cheers, > > James > > On 15 Nov 2008, 6:41 AM, "Patrick Waugh" <[EMAIL PROTECTED]> wrote: > > In the ANT manual: http://ant.apache.org/manual/install.html#optionalTasks > > It says: > > The external libraries required by each of the

any way to do this with Ant?

2008-11-15 Thread Patrick Waugh
deployment, any such cod must be unzipped for deployment). So, in short, I need to be able to either move the file as is, or if I determine it can be unzipped, unzip it to the dist.dir. Problem is, I have no idea how I can determine if it needs to be unzipped! Ideas? Patrick

Re: Ant NOT finding jars even in ant/lib (without classpath=)

2008-11-15 Thread Patrick Waugh
nt Ant then that included with Eclipse. Then, in the future, if you add another one then manually add it here, or it will only be found from the command line ant. Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Ant NOT finding jars even in ant/lib (without classpath=)

2008-11-14 Thread Patrick Waugh
Ant 1.7.1. Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

external tasks configuration question

2008-11-14 Thread Patrick Waugh
lipse??? Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: libs in ${user.name}/.ant

2008-11-14 Thread Patrick Waugh
if you drop it in >> $ANT_HOME/lib >> it should work with no classpath... >> >> On Thu, 13 Nov 2008, Patrick Waugh wrote: >> >> > I have this: >> > >> > > > classpath="${user.home}/.ant/lib/ant-contrib.jar" uri = >> > "

how should I do this?

2008-11-13 Thread Patrick Waugh
I use Mercurial a DVCS. I can do this: [EMAIL PROTECTED]:~/repo/dib/AnimationDemo$ hg id -i ffd79a345811 which gives me the unique "revision" which I am compiling. I'd like to capture that string for use in Ant. What would be the best way to accomplish

Re: Optional if and only if properties file exists?

2008-11-13 Thread Patrick Waugh
nt-contrib." />

libs in ${user.name}/.ant

2008-11-13 Thread Patrick Waugh
.ant/lib directory. Anyone know how I could have screwed this up? Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Optional if and only if properties file exists?

2008-11-13 Thread Patrick Waugh
ou define at the top of your build.xml... Mine is > usually > > xmlns:ant-contrib = "http://ant-contrib.sourceforge.net"; > > Thereby making if for me: > > > > On Thu, 13 Nov 2008, Patrick Waugh wrote: > >> Interesting. works for me, but not >>

Re: Optional if and only if properties file exists?

2008-11-13 Thread Patrick Waugh
Interesting. works for me, but not Patrick On Thu, Nov 13, 2008 at 8:59 AM, Scot P. Floess <[EMAIL PROTECTED]> wrote: > > ac is the namespace for Ant Contrib, if - thats the Ant Contrib task if > > > > > On Thu, 13 Nov 2008, Patrick Waugh wrote: > >> What i

Re: Optional if and only if properties file exists?

2008-11-13 Thread Patrick Waugh
I'm still looking at this construct. I can't use the implicit tag because their might be nothing (ie no file), and then this wouldn't work, so I went with opt

Re: Optional if and only if properties file exists?

2008-11-13 Thread Patrick Waugh
What is ? On Thu, Nov 13, 2008 at 7:04 AM, <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>> >>> ... >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> or check the condition with antcontrib if/else in one target >>> >>> >> >>> >>> >>> >>> >>> >>>

Re: not working

2008-11-13 Thread Patrick Waugh
Thanks. Yes, I can't seem to find the antcontrib... it seems to be ccptask or something. I'll check out Antelope. =) Patrick On Thu, Nov 13, 2008 at 6:32 AM, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > > -Original Message- > From: Patrick Waugh [mai

not working

2008-11-13 Thread Patrick Waugh
I am doing this: in build.xml, and get this error: /home/patrick/repo/dib/common/build.xml:89: Problem: failed to create task or type if Cause: The name is undefined. Action: Check the spelling. Action

Re: Optional if and only if properties file exists?

2008-11-13 Thread Patrick Waugh
Thanks. Yes, this is the thing I did not understand. Patrick On Thu, Nov 13, 2008 at 5:09 AM, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > -Original Message----- > From: Patrick Waugh [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2008 11:58 AM > To: Ant Use

Re: Optional if and only if properties file exists?

2008-11-13 Thread Patrick Waugh
so I need that line to only "appear" in the build.xml IF that property file exists. In other words, I need to test if the property file exists... and then include that "code" only in this case. Patrick -

Optional if and only if properties file exists?

2008-11-13 Thread Patrick Waugh
ntry point. How can I use this entry ONLY if the entryGUI.properties file exists? Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: todir does not accept FQPN???

2008-11-09 Thread Patrick Waugh
dorse content contained within this > transmission. > > > > >> Date: Sun, 9 Nov 2008 03:26:15 -0600 >> From: [EMAIL PROTECTED] >> To: user@ant.apache.org >> Subject: todir does not accept FQPN??? >> >> In a properties file I have: >> >>

todir does not accept FQPN???

2008-11-09 Thread Patrick Waugh
In a properties file I have: # rapc and sigtool tasks require location of RIM JDE jde.home=/home/patrick/lib/jde-4.2.1 # Default simulator #simulator.home="$(jde.home}/simulator" simulator.home="~/lib/jde-4.2.1/simulator" and I first ran into a problem with the commented

Couple of questions (involves bb-ant-tools)

2008-11-09 Thread Patrick Waugh
false entry.startuptier=7 entry.ribbonposition=0 entry.icon="net/berrysoft/dib/img/icon.png" and I'm wondering if this is the correct way to include the tags properties? Also, do I really need the tags? If not, why not? Thanks for any help, patrick

configuring a builder

2008-11-01 Thread Patrick Waugh
" to select the build.xml, but then when I clone this branch to a new branch, the path to it is hard coded, and so breaks the builder. Which var and how should I use it to create the builder so that it doesn't break when I clone a new branch? Patrick --

Running a script twice after changing a property fails

2008-10-13 Thread Patrick Lübbecke
I'm currently facing a problem while trying to write an ant task that looks up for some xml elements and adds a prefix in front of that specific element. I have to run this script twice since I have two files to change which have pretty much the same structure. What it basically does is: 1. unzip

Running a script twice after changing a property fails

2008-10-13 Thread Patrick Lübbecke
I'm currently facing a problem while trying to write an ant task that looks up for some xml elements and adds a prefix in front of that specific element. I have to run this script twice since I have two files to change which have pretty much the same structure. What it basically does is: 1. unzip

Re: Ant 1.7.1 install on Ubuntu problem

2008-09-29 Thread Patrick Waugh
James, I downloaded it twice, and the "lib" directory was empty in both copies. The other version was just fine. I'm using Ubuntu Hardy, and have no problem with other zip's. Patrick On Mon, Sep 29, 2008 at 8:49 AM, James Abley <[EMAIL PROTECTED]> wrote: > 20

Re: Ant 1.7.1 install on Ubuntu problem

2008-09-27 Thread Patrick Waugh
Found the problem. The .tar.gz archieve is missing the lib files. I downloaded the .bz2, and all was fine. Patrick On Sat, Sep 27, 2008 at 5:26 AM, Patrick Waugh <[EMAIL PROTECTED]> wrote: > I'm trying to install Ant system-wide on my Ubuntu Hardy. > > I downloaded apache-

Ant 1.7.1 install on Ubuntu problem

2008-09-27 Thread Patrick Waugh
sLoader.loadClassInternal(ClassLoader.java:319) [EMAIL PROTECTED]:~$ What am I missing? Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Iterating through the build script

2008-09-24 Thread Patrick Luebbecke
Hi Folks, i'm currently writing a build script which will to the following tasks: 1. unpack file a 2. unpack file b (both files have the same directory and filestructure) 3. Replace several strings within different files 4. zip file a 5. zip file b since file a and b have different filenames

Exclude a single build.xml from a fileset of build.xmls

2008-08-29 Thread Patrick Aikens
I have a folder structure similar to the following: ${basedir} |--build |--project1 |--subproject1 |--build |--subproject2 |--build |--subproject3 |--build |--project2 |--subproject1 |--build |--subproject2 |--build Hopefully this won't g

uisng ant with mercurial

2008-08-13 Thread Patrick Waugh
When I "clone" a repository with mercurial, I current then have to go in and manually edit the build.xml file's project name in the project tag. Is there a way around having to do this??? Patrick - To unsu

Re: missing tools.jar????

2008-08-10 Thread Patrick Waugh
Thanks, I was messing with Java_Home and wasn't thinking!!! That fixed it completely. Patrick On Sun, Aug 10, 2008 at 11:51 AM, Scot P. Floess <[EMAIL PROTECTED]> wrote: > Looks like your JAVA_HOME is pointing to the JRE... > > tools.jar contains javac and that comes with

missing tools.jar????

2008-08-09 Thread Patrick Waugh
Hi, Everything was working fine... but now I get this: C:\Documents and Settings\Patrick\workspaces > ant Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.6. 0_07\lib\tools.jar Buildfile: build.xml does not exist! Build failed As you can see, not a classpath prob

Re: calling ANT or Depends?

2008-06-26 Thread Patrick Aikens
Using the task will actually execute a new ant process for each target, which means that in that particular ant process, init has never been called - thus it gets called every time. The depends line you have in your previous mail is still the best way to go - the "prepare something" step should p

Re: Custom Selectors

2008-04-09 Thread Patrick Aikens
t and see if you get your exception. I used: classpath="." > and got: Buildfile: build.xml BUILD FAILED /sandbox/test/ant/build.xml:3: Yep, at least we're selecting Total time: 0 seconds Patrick Aikens wrote: I'm trying to w

Custom Selectors

2008-04-08 Thread Patrick Aikens
I'm trying to write a custom selector. It works fine, except that isSelected is never called. This is using 1.6.5, with the .jar for the selector in ant's lib directory and the jar contains an antlib.xml. Here's the pared down version. Yes, isSelected is set to throw an exception if it's ever ca

Need to make a DirSet from all directories containing a given file in Ant 1.6.5

2008-04-04 Thread Patrick Aikens
I've seen solutions using and javascript, but that's not supported in 1.6.5 as far as I can tell. Unfortunately, I can't upgrade to 1.7.0 just yet. I need to be able to run a task on all project directories using a single build file (genericantfile), but ONLY if those directories contain an ivy

RE: How do I specify the compiler on the cmd line?

2008-01-11 Thread Todd Patrick
;ll take the value in the build.xml file. On Jan 11, 2008 11:06 AM, Todd Patrick <[EMAIL PROTECTED]> wrote: > I have a simple target: > > > destdir="${build}" > executable=&qu

How do I specify the compiler on the cmd line?

2008-01-11 Thread Todd Patrick
I have a simple target: In which I specify to use JDK 5 in the Javac Task. How do I specify the compiler on the cmd line and remove the following lines from the Javac Task: executable="/usr/jdk1.5.0_06/bin/javac" compiler="

RE: What does the warning "selected war files include a WEB-INF/web.xml which will be ignored" mean?

2007-12-13 Thread Todd Patrick
] Sent: Thursday, December 13, 2007 9:28 AM To: Ant Users List Subject: Re: What does the warning "selected war files include a WEB-INF/web.xml which will be ignored" mean? Todd Patrick wrote: > Warning: selected war files include a WEB-INF/web.xml which will be > ignored (p

What does the warning "selected war files include a WEB-INF/web.xml which will be ignored" mean?

2007-12-12 Thread Todd Patrick
Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task) I've googled this warning without a lot of results. I have currently have the web.xml in the WEB-INF directory, so is this error thrown because I'm trying to overwrite the web.xml

war task question.

2007-12-12 Thread Todd Patrick
Please forget me for this question, I've never used the war task before and I'm looking at example at: http://www.java-tips.org/other-api-tips/ant/how-to-use-war-task.html I have a directory labeled "resources" and I have ten .gif files. To include the .gif files, I must use the zipfileset task

Ant 1.6.5: Learning to build an EAR that contains a single War and a single EJB Jar

2007-11-26 Thread Todd Patrick
Using Ant 1.6.5 I am learning to use Ant and I have purchased Steve Holzner's Ant The Definitive Guide from O'Reilly books and I'm been going through the manual online as well. I need to build an EAR that contains a single War and a single EJB jar The location of the sources for both are: /

Re: extract properties from file and corresponding template

2007-09-10 Thread Patrick Martin
Indeed, it will certainly be useful. Thanks a lot. Patrick On 9/7/07, Bruce Atherton <[EMAIL PROTECTED]> wrote: > True, if your properties file has embedded ant properties that you > expect to be replaced, what you will get back when you regenerate the > file is not the p

Re: extract properties from file and corresponding template

2007-09-06 Thread Patrick Martin
Hello, I see what you mean and agree. The worse case would be when we have something like @prop1@@prop2@ in the template files For the start of the property, I guess we can find it out in the template (looking for the index of @). The end is much trickier. Thank you anyway. Patrick On 9/6/07

extract properties from file and corresponding template

2007-09-06 Thread Patrick Martin
to get the set of properties back from this file and the corresponding template. file + template >>> properties Is there any task out there that already exists for that? Thank you, Patrick - To unsubscribe, e-mail

Re: Perform a task for every folder from the file.

2007-04-30 Thread Patrick Martin
cool for me but: I get BUILD FAILED C:\CMApplicationTools2\PackagingTools\build.xml:251: You must supply a property name to set on each iteration in param What to do with that? Patrick Martin-2 wrote: > > Hello, > > I think you don't need to use antcount for that (e

Re: Perform a task for every folder from the file.

2007-04-30 Thread Patrick Martin
Hello, I think you don't need to use antcount for that (even though this is a great task ... ;-)) you should be able to load your file with loadfile, without filtering, and then use ac:for with delimiter="${line.separator}" [...] [...] Rgds, Patrick On 4/30/07, Camer38 &l

Aborting a task execution

2007-03-06 Thread Patrick Laplante
Hi, I launch ANT within an application and I would like to be able to abort the execution at any time, is anyone knows how to do it? Thanks

Re: Anyway to make an input task have stars?

2007-01-10 Thread Patrick Martin
Hello, If you need user input *and* have access to a windowed system, you may want to try to have a look at antform: http://antforms.sourceforge.net/ Its textProperty element has a password attribute that will hide user input. Cheers, Patrick On 1/10/07, [EMAIL PROTECTED] <[EMAIL PROTEC

Re: Access source file from mapper

2006-12-12 Thread Patrick Martin
I guess it would be more like (not tested): is a task i am also working on (antexif @ sourceforge) Thank you, Patrick On 12/11/06, Matt Benson <[EMAIL PROTECTED]> wrote: --- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > I did not find anythi

Re: Access source file from mapper

2006-12-11 Thread Patrick Martin
multiple targets, we still have only one source file and that's the one that's interesting to have - filtermapper only change the file name, not the file content. So I don't think there is anything specific there. Oh well, I guess I'll jus

Re: Access source file from mapper

2006-12-11 Thread Patrick Martin
*.JPG. It does not include the folder C:\B. 2. There might be previous mappers that changed the filename. My question was more to know if there was anyway to access the source File object *directly* from a mapper. Something like public File getSourceFile(); would be perfect ;) Thanks anyways. Pa

Access source file from mapper

2006-12-08 Thread Patrick Martin
thus cannot read the file. Is there a way around this? I would like to avoid *looping* (ant-contrib ) on source files, getting their respective EXIF attributes and copying/renaming accordingly... Thanks, Patrick - To unsubscribe

Re: AntForm question

2006-11-30 Thread Patrick Martin
/unless attributes (as suggested by Gilbert earlier) or using ant-contrib task. command line: ant -Dautomated="true" script: ... Cheers, Patrick On 11/30/06, Hans Schwaebli <[EMAIL PROTECTED]> wrote: Hi Patrick, thank you for the quick implementation. Lets assume I hav

Re: [help] Search a string in a file

2006-11-30 Thread Patrick Martin
: 12.0 Skipped : 0.0 Cheers, Patrick On 11/29/06, Patrick Martin <[EMAIL PROTECTED]> wrote: Hello, You may want to have a look at antcount : http://antcount.sourceforge.net/ Cheers, Patrick On 11/28/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > Hi, > > installing JR

Re: AntForm question

2006-11-29 Thread Patrick Martin
Hello, Antform 2.0 beta 2 just got released. Patrick Changes from 2.0 beta 1 to 2.0 beta 2 Changes that could break older environments: - Empty form do not display any more by default. The previous behaviour can be obtained by setting the new antform/antmenu attribute showwhenempty. Fixed

RE: AntForm question

2006-11-29 Thread Patrick Martin
ed. Would that be ok for you? Patrick Quoting Hans Schwaebli <[EMAIL PROTECTED]>: > The thing I tried to suggest kindly is that Antform does not show any form if > all properties for the form have already been set. This is the default > behavior of Ant scripts comparing to Input t

RE: AntForm question

2006-11-29 Thread Patrick Martin
e the ones set in step 1. This allows the user to modify those *default* values. 3. Once validated, you go on your ant build with user defined properties or default ones if unchanged. I hope this helps. Regards, Patrick Quoting "Rebhan, Gilbert" <[EMAIL PROTECTED]>: > >

Re: [help] Search a string in a file

2006-11-29 Thread Patrick Martin
Hello, You may want to have a look at antcount : http://antcount.sourceforge.net/ Cheers, Patrick On 11/28/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: Hi, installing JRuby = you don't have to install JRuby, means no need for setting JRUBY_HOME and stuff, but for using the

Re: copy files using mapper

2006-08-05 Thread Patrick Martin
Hello, From what I understand you want to remove DirB\DirC from the target files path. Would something like the following match your need (not tested) ? Patrick On 8/5/06, satheesh <[EMAIL PROTECTED]> wrote: I Need to copy files from D:\dirA\dirB\dirC\dirD\*.jsp To D:\dirA\dirD

Re: Antcount - external filters

2006-07-05 Thread Patrick Martin
Thank you Jan. Patrick On 7/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I added it to svn yesterday, so it should be online soon. But I changed the contact adress to http://antcount.sourceforge.net/contacts.html instead of the root page of your site. Jan >I created a so

  1   2   >