Re: kicking my butt with something very simple

2014-12-05 Thread Jonathan Rosenberg
It looks like you're trying to redirect output (with >), yes? Remember that redirection is done by a shell, not by the 'sort' command. You need to exec sh or bash, or another shell that handles >. Or, handle the output yourself. Make sense? -- Jonathan Rosenberg Founder

Antlib Confusion

2012-05-25 Thread Jonathan Rosenberg
the command line with the -lib argument What am I missing? -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ - To unsubscribe, e-mail: user-unsubscr...@ant.a

Re: propertyfile task issues

2011-12-03 Thread Jonathan Rosenberg
Are you saying that the file is being modified ny Ant? Seems impossible. You view the file just before and after running Ant? On Nov 30, 2011 3:48 PM, "Eric Fetzer" wrote: > I'm lost Stefan. It's a java properties file, but doesn't have the : > escaped when I check it out. Once I run "proper

Re: propertyfile task issues

2011-11-30 Thread Jonathan Rosenberg
Isn't ':' used as an alternative to '=' in properties files? Is that the problem? -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ _ From: Eric Fetzer Sen

Re: Change property value

2011-02-18 Thread Jonathan Rosenberg
You can use the task from the Ant Contrib library: http://ant-contrib.sourceforge.net/tasks/tasks/index.html -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ On Fri, Feb 18, 2011 at 10:27 AM, Stefan Bodew

RE: antcall

2010-10-25 Thread Jonathan Rosenberg
What happens if you echo a constant string, instead of a variable dereference? -- Jonathan Rosenberg Founder & Executive Director, Tabby's Place http://www.tabbysplace.org/ -Original Message- From: ext-simon.stei...@nokia.com [mailto:ext-simon.stei...@nokia.com] Sen

RE: antcall

2010-10-25 Thread Jonathan Rosenberg
How are you "calling" test-1? -- Jonathan Rosenberg Founder & Executive Director, Tabby's Place http://www.tabbysplace.org/ -Original Message- From: ext-simon.stei...@nokia.com [mailto:ext-simon.stei...@nokia.com] Sent: Monday, October 25, 2010 11:42 AM To: user@ant

RE: ant-contrib 1.0b3 broken?

2010-09-07 Thread Jonathan Rosenberg
I had to declare the task via its own to get it to work, -- Jonathan Rosenberg Founder & Executive Director Tabby's Place http://www.tabbysplace.org -Original Message- From: Jacob Beard [mailto:jbea...@cs.mcgill.ca] Sent: Tuesday, September 07, 2010 8:47 PM To: user@ant.a

RE: Set property using part of a filename

2010-08-12 Thread Jonathan Rosenberg
I would use the task from ant-contrib: -- Jonathan Rosenberg Founder & Executive Director, Tabby's Place http://www.tabbysplace.org/ -Original Message- From: Bailey, Darragh [mailto:dbai...@hp.com] Sent: Thursday, August 12, 2010 2:32 PM To: Ant Users List Subject: Set prope

RE: Problem with Ant pathconvert and paths with spaces

2010-07-23 Thread Jonathan Rosenberg
How about ? -- Jonathan Rosenberg Founder & Executive Director, Tabby's Place http://www.tabbysplace.org/ -Original Message- From: Bailey, Darragh [mailto:dbai...@hp.com] Sent: Friday, July 23, 2010 11:01 AM To: Ant Users List Subject: RE: Problem with Ant pathconvert and p

RE: Problem with Ant pathconvert and paths with spaces

2010-07-23 Thread Jonathan Rosenberg
What happens if you run the build outside of Eclipse? -- Jonathan Rosenberg Founder & Executive Director, Tabby's Place http://www.tabbysplace.org/ -Original Message- From: Bailey, Darragh [mailto:dbai...@hp.com] Sent: Friday, July 23, 2010 9:51 AM To: Ant Users List Subject

RE: [Newbie] Nice way of concatenating files

2010-07-19 Thread Jonathan Rosenberg
How about this (untested): If this isn't correct, it should be very close to gthe answer. -- Jonathan Rosenberg Founder & Executive Director, Tabby's Place http://www.t

RE: [Newbie] Nice way of concatenating files

2010-07-19 Thread Jonathan Rosenberg
Ant's task is what you want: http://ant.apache.org/manual/index.html -- Jonathan Rosenberg Founder & Executive Director, Tabby's Place http://www.tabbysplace.org/ -Original Message- From: matt...@jaggard.org.uk [mailto:matt...@jaggard.org.uk] On Behalf Of Matthe

Re: How can I exclude a directory's contents but not the directory itself?

2010-02-03 Thread Jonathan Gordon
On Mon, Feb 1, 2010 at 9:18 PM, Stefan Bodewig wrote: > I think you need includeemptydirs="true" on the element as well. > > Stefan Thanks Stefan! Here's the working snippet in case anyone else runs into this problem: Unfortunately, once I got this worked

Re: How can I exclude a directory's contents but not the directory itself?

2010-02-01 Thread Jonathan Gordon
---Original Message-- > From: Jonathan Gordon > To: user@ant.apache.org > ReplyTo: Ant Users List > Subject: How can I exclude a directory's contents but not the directory > itself? > Sent: 1 Feb 2010 20:53 > > I have a directory structure that looks like so: > > a

How can I exclude a directory's contents but not the directory itself?

2010-02-01 Thread Jonathan Gordon
|-- webapps |-- work This is what I have so far: But unfortunately that excludes the directories as well. Any ideas? Jonathan - To

RE: help getting latest.integration to work -- solved!

2009-02-23 Thread Jonathan Roberts
t? Thanks, Jon -Original Message- From: news [mailto:n...@ger.gmane.org] On Behalf Of Tom Widmer Sent: Tuesday, February 10, 2009 12:10 PM To: ivy-u...@ant.apache.org Subject: Re: help getting latest.integration to work Jonathan Roberts wrote: > Sure, > > Here's the relev

Re: buildnumber Ant task & automated updates of ivy.xml

2008-11-19 Thread Jonathan Oulds
I too have been playing with this. Currently I have an ivy file (see below) that is configured and delivered during the publish task. Her is the publish task that will automatically add the correct build number. ${ivy.organisation} and ${ivy.module} are both s

Re: import file from jar (or classpath)

2008-01-14 Thread jonathan doklovic
other classes including AntLibDefinition can subclass when the task needs to load a classpath resource. - Jonathan On Mon, 2008-01-14 at 13:14 +, Steve Loughran wrote: > jonathan doklovic wrote: > > Hi, > > > > I know there's not currently a way to do this, but I

Re: import file from jar (or classpath)

2008-01-11 Thread jonathan doklovic
I added a bug to the bug database and attached a patch that adds the same classpath functionality as taskdef to the import task. http://issues.apache.org/bugzilla/show_bug.cgi?id=44214 - Jonathan On Fri, 2008-01-11 at 09:40 -0800, kermitt wrote: > In a previous post I suggest this: > &g

import file from jar (or classpath)

2008-01-11 Thread jonathan doklovic
epend on that jar. Combined with something like ivy, I think this would be a pretty good way to share common targets among multiple projects that may not have anything to do with each other. Any thoughts? Any way to do this now? - Jon

List/Download folder from http?

2007-11-21 Thread jonathan doklovic
http://mydomain.com/myfolder"; dest="/tmp/xmlfiles" include="**/*.xml"/> However, even if I could find a task that would just list the files in a web directory, I could then use ant-contrib and get to loop over them. Anyone know

RE: document() function on missing file

2007-01-09 Thread Jonathan Marsh
e old one.) Thanks for the handholding! Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com > -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 09, 2007 2:32 AM > To: Ant Users List > Subject: Re: document()

Re: document() function on missing file

2007-01-08 Thread Jonathan Marsh
1.7.0 final build it breaks. Nothing else has been changed. Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com   - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

document() function on missing file

2007-01-07 Thread Jonathan Marsh
/desc/test-suite/ Jonathan Marsh - <http://www.wso2.com> http://www.wso2.com - <http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com

Expanding ALL properties manually

2005-12-13 Thread Jonathan
nt to expand any/all properties in the file before my parser starts on it. Thanks! - Jonathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: dependency checking is not included in Ant. ???

2005-08-06 Thread jonathan gold
not exactly. that paragraph continues: "the tasks themselves can do dependency checking or not. A full java build using Jikes is so fast that dependency checking is relatively moot, while many of the other tasks (but not all), compare the timestamp of the source file with that of the destinati

javac compilation speed

2005-07-26 Thread Jonathan Baccash
I have read that ant does not do dependency checking to see if targets are up to date. But I have also read that compilation of java files is faster with ant. How is this possible? Does ant use javac compile flags to do dependency checking automatically? Or is there something else going on? Th

RE: NoClassDefFoundError for class that is on the classpath?

2005-03-31 Thread Doklovic, Jonathan
What does your entry look like? -Original Message- From: F Da Costa Gomez [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 7:53 AM To: user@ant.apache.org Subject: NoClassDefFoundError for class that is on the classpath? Hi, Following the error i get when trying to run a scrip

RE: setting project classpath from a task

2005-03-29 Thread Doklovic, Jonathan
I had a similar issue. Here's what works for me: In your Task, set the path like this: Path myPath = new Path(getProject(), somePathString); myPath.setProject(getProject()); // you MUST do this or it doesn't seem to set the ref properly getProject().addReference("my.pathRef", myPath); Then in yo

RE: Email Task not sending attachment

2005-03-29 Thread Jonathan Hawkins
Is this a known problem with the standard build script for ant ? Jon -Original Message----- From: Jonathan Hawkins [mailto:[EMAIL PROTECTED] Sent: 29 March 2005 14:36 To: 'user@ant.apache.org' Subject: Email Task not sending attachment I am trying to send an email with an attachmen

Email Task not sending attachment

2005-03-29 Thread Jonathan Hawkins
I am trying to send an email with an attachment using the Any Mail task. If I use encoding=uu, it send the email but the attachment is included in the body of the email. If I use encoding=mime, I get :- Exception caught: C:\tempFix\build.xml:12: Failed to initialise encoding: mime C:\tempFix\bui

set Path id/reference in cutom task?

2005-03-26 Thread Doklovic, Jonathan
t when I try to reference my.compilePath in the build.xml I get Reference my.compilePath not found. Anyone know how to either set the id of the path or set it to be used as a reference? Thanks! Jonathan Doklovic Senior Programmer http://www.victoriassecret.com

Re: Property is set in build.properties(along with others) but catalina.home isn't set within main script

2004-10-20 Thread Jonathan Wilson
That worked. Thanks! Dominique Devienne wrote: From: Jonathan Wilson [mailto:[EMAIL PROTECTED] I've got a build.properties in the same directory as build.xml: value="/home/jblow/java/javamail/javamail-1.3/mail.jar"/> value="/home/jblow/java/javamail/jaf-1.0.2/activati

Property is set in build.properties(along with others) but catalina.home isn't set within main script

2004-10-20 Thread Jonathan Wilson
Gotta be a simple thing - I'm just not hitting the right verbage to find a relevant entry in the archives: I've got a build.properties in the same directory as build.xml: I've got the default TC5 ant build.xml which I've modified a bit, but it still does the following prior to using any pro

migrating from jlink to jar

2004-03-12 Thread PERRY, Jonathan, FM
We have an ant build file that uses jlink to create a single jar of all the thirdparty jars we compile with (for deployment). The ant build file defines a thirdparty classpath as a series of path elements, this is referred to in both the javac and jlink tasks. I would like to switch to using the