Re: changing the main initialization procedure

2002-05-23 Thread Peter Donald
Hi, On Thu, 23 May 2002 16:51, Nicola Ken Barozzi wrote: > Peter Donald (have to use full name because this list is s full ;) , > any hint on how to include a basic templating mechanism with current Ant? I > recall you favor templating, and I'm sure you can help us (I'm in

Re: Ant 1.5, JDepend task doesn't support the "format" attribute

2002-02-05 Thread Peter Donald
Looks like you are not using the latest version of ant? Could you have set ANT_HOME to an old version or somehow be using old version of script? On Wed, 6 Feb 2002 00:09, Chuck Stern wrote: > Hi, > > I'm trying to use the jdepend task with the latest build (1.5 alpha) ant > the latest optional.

Re: DTD's, Entities, XML and Ant

2002-02-04 Thread Peter Donald
On Mon, 4 Feb 2002 14:05, dIon Gillard wrote: > I'd like to add some form of xcatalog support to ant as a 'type', so > that xsl, xml validation, ejbjar etc can reference entities by their > public ID and have the location of the resource defined in ant, similar > to the way classpaths are for java

Re: Thoughts about properties

2002-02-01 Thread Peter Donald
On Fri, 1 Feb 2002 20:59, Erik Hatcher wrote: > > 1) Add a '-properties ' to specify a properties file > > which in effect "globally" for a single ant run. Obviously > > it's possible to obtain something close to this functionality > > by inserting the tag at t

Re: Environment variables

2002-01-30 Thread Peter Donald
On Wed, 30 Jan 2002 22:22, Peter Kesch wrote: > can i check if an environment variable is set or not > i want to copy the JSPs into the Tomcat webapps-directory but it depends on > if the environment variable is set or not because without it i have no > information about the path to the webap

Re: very, very cool!

2002-01-29 Thread Peter Donald
Hi, thanks for that - it is appreciated by ant dev :) On Wed, 30 Jan 2002 12:55, Alan Pearson wrote: > Many of the messages I read on this alias are from frustrated people who > are grappling with configuration issues, asking "how do I write this..." > type questions, etc. And thats what a user

Re: Using Xalan with Ant's built-in Style task

2002-01-25 Thread Peter Donald
On Fri, 25 Jan 2002 05:29, Vaughan Jackson wrote: > Hi Pete, > > Your response below caught my interest. I seem to be experiencing a > problem related to that described by Mike Van Riper. The style task > only works if I place xalan.jar in the ant lib directory. It will not work > if I instead add

Re: Dumb question: equivalent of make -n?

2002-01-25 Thread Peter Donald
On Fri, 25 Jan 2002 23:39, [EMAIL PROTECTED] wrote: > HI, > > I want to verify a new ant task before running it. Can I do the equivalent > af a make -n where all the commands that will be executed are printed out > but no action is actually taken? Not at this point in time. You will be able to do

Re: Question Related to Touch

2002-01-24 Thread Peter Donald
On Thu, 24 Jan 2002 23:58, Jubin Gosar wrote: > Hi All > > I am using Ant for integration and build testing for a .NET project on > windows 2000. I had configured ant on my machine. Now I want the same to > be used by other developers. But only on their machine while checking out > from StarTeam

Re: reg: Myrmidon info

2002-01-19 Thread Peter Donald
On Sat, 19 Jan 2002 06:03, Mallampati, Suresh wrote: > Where can I find info about Myrmidon project (Scope & aims etc).. and how > can I obtain the source code.. I don't have access to CVS. and couldn't > find them in the Ant's nightly builds. Myrmidon is not a separate project. It is a proposal

Re: difference b/w pathelement location= vs. pathelement path=

2002-01-17 Thread Peter Donald
On Fri, 18 Jan 2002 07:05, Matt Raible wrote: > What is the difference b/w the following > > > > > path parses the string in a semi-OS independent manner expecting it to be a list of file elements concternated together. ie you could have something like /opt/jars/foo.jar:/opt/jar

Re: 1.4.1 binary is really 1.3?

2002-01-15 Thread Peter Donald
Are you sure you have the correct ant version installed and that ANT_HOME is not set to your old install or something like that ? On Wed, 16 Jan 2002 07:25, Jon Schewe wrote: > I just grabbed ant 1.4.1, the binary tar.gz file. When I opened it up and > > ran ant -version I get: > >ant -version

Re: Code format validation

2002-01-15 Thread Peter Donald
On Tue, 15 Jan 2002 23:41, [EMAIL PROTECTED] wrote: > My current settings: > > Sort order of import statements: > java.* > javax.* > org.xml.* > org.w3c.* > org.* > com.* > > Number of imports before .* is used: 5 Similar settings are available for other editors - my preference currently being I

Re: Code format validation

2002-01-14 Thread Peter Donald
I have used JRefactorys Prettyr printer (on sourcefortge) a fair bit and was relatively impressed. It needs a bit of tweaking to avoid breaking some code in some situations but overall it is relatively good. On Tue, 15 Jan 2002 10:58, Paul Cody wrote: > Importscrubber is nice, but is doesn't re

Re: Cause a task to fail

2002-01-06 Thread Peter Donald
On Sun, 6 Jan 2002 17:27, Rahamim, Zvi (Zvi) wrote: > Hi all! > How can I cause a task to fail (from the xml file)? Have you looked at the fail task? -- Cheers, Pete ** | Every rule has an exception, | | except the rule of exceptions. | *-

Re: "Illegal character or entity reference syntax" error

2002-01-04 Thread Peter Donald
On Sat, 5 Jan 2002 11:42, Ma, Jian wrote: > I'm trying to use task to run windows "net use" command. It worked > fine when the password I used for net use is something like 'abcdef'. Once > I have special charactors in it, such as '@', '|', '&', ant throws a > "Illegal character or entity refer

Re: InstallShield support

2002-01-03 Thread Peter Donald
On Thu, 3 Jan 2002 05:55, Marcus wrote: > Rahamim, > > Just looking at this now. > > I am new a this but you can use the exec property and I know that installer > has the line command capabilities so I would assume t hat you can use ant. We use the task for installshield and it is all good here.

Re: use of 'includes' attribute in javac

2001-12-30 Thread Peter Donald
On Sun, 30 Dec 2001 21:23, jfc100 wrote: > whoops! Hang on - sorry, are you sure about the nested includes under > the src tag? Ooops - knew I would botch the syntax. The src is actually a "path-like" structure so you would have to do something like -- Cheers, Pet

Re: use of 'includes' attribute in javac

2001-12-29 Thread Peter Donald
Hi On Sat, 29 Dec 2001 21:37, Jim Clayson wrote: > My hierarchy is as follows: > (link to /usr/local/dev in home dir) > > ~/dev/examples/org/jboss/docs/cmp/cd/bean/*.java > ~/dev/examples/org/jboss/docs/cmp/cd/interfaces/*.java > ~/dev/test/servlets/src/classes/TestServlet.java > ~/dev/test/servl

Re: [OT] Ant-driven update system (Re: Best way to add file to CVS repository?)

2001-12-29 Thread Peter Donald
On Thu, 27 Dec 2001 18:56, Jeff Turner wrote: > I'd like to invent one though :) I was thinking along the lines of a > .jar file containing updates, with an Ant script, META-INF/control.xml, > which describes how the contents of the jar must be applied. Sounds good to me. Basically a cross-platfo

Re: AntMan - Integrate Ant with JDeveloper IDE

2001-12-29 Thread Peter Donald
On Wed, 26 Dec 2001 01:55, Ashok Sridhar wrote: > Hi, > > I have written an AddIn to integrate Ant with the JDeveloper IDE. Here are > the details : Looks good - unfortunately GPL is not compatible with Apache software (see the gnu website for details). Would you consider using an alternative li

Re: Expanding properties with -projecthelp

2001-12-21 Thread Peter Donald
On Sat, 22 Dec 2001 05:20, Andreas Guther wrote: > I noticed that listing the available targets with "ant -projecthelp" > does not expand properties embedded in the description of the target. > > So for example it displays one tag as > > cvs.tag.build Tags the build with ${build.tag} > >

Re: Creating a FileSet from just a filename.

2001-12-12 Thread Peter Donald
On Thu, 13 Dec 2001 02:57, Robert Parlett wrote: > Hello > > My question is whether there is a way to create a FileSet > with a single element, given the filename only. > > For example, if I have a property defined > > > > can I create a FileSet equivalent to > > > > > > Thanks in a

Re: calling "-projecthelp"

2001-12-12 Thread Peter Donald
On Thu, 13 Dec 2001 00:45, Jens v.P. wrote: > Hello, > > I'm looking for a task (or something) that makes it possible > to output the project help, as it is printed when ant is called with > "-projecthelp" option. > > Background: > Usually a target "help" exists. Usually, this target prints exactl

Re: DELETE exception

2001-12-11 Thread Peter Donald
It is likely that windows is locking the file because you have it open in an editor or some other application has it opened. On Wed, 12 Dec 2001 09:56, Dmitri G. Chtchekine wrote: > I get exception trying to delete some files (OS is Windows NT). > Strangely some files get deleted, and on some

Re: Minimal Compiles

2001-12-08 Thread Peter Donald
On Sun, 9 Dec 2001 13:39, Cecil, Paula New wrote: > After making my first ant build file, I notice that it always recompiles > all my java sources, even when the class files are more recent than the > sources. > > This means that instead of sub-second run times, it is taking almost half a > minute

Re: manifest class path

2001-12-06 Thread Peter Donald
On Fri, 7 Dec 2001 04:20, Nathan Coast wrote: > Hi, > > the jar task seems to be messing up the classpath entry in my manifest file > (splits it onto two lines as below). > > Class-Path: lib/fop.zip lib/commons-collections.zip lib/commons-digest > er.zip lib/commons-beanutils.zip lib/core.zip > >

Re: Problem with patternsets in ANT 1.4.1

2001-11-27 Thread Peter Donald
On Wed, 28 Nov 2001 04:25, Andrew Spyker wrote: > All, > > I just moved my build from 1.3 to 1.4.1. I am now seeing the following > issue: > > If I have patternsets defined in the build.xml under build targets such > as: > > > > > > > > > > I get the following error when

Re: generating absolute paths from relative ones...

2001-11-27 Thread Peter Donald
On Tue, 27 Nov 2001 20:37, Alan Pearlman Spencer wrote: > Hello, > I have a general problem where I have 2 build.xml files in different > directories. > One passes the other directory names for it to do it's job, but all the > paths I have > are relative and when I pass them from one to the other

Re: Trimming unnecessary classes from jars

2001-11-27 Thread Peter Donald
http://www.bmsi.com/java lists 2. BTW you one of the peeps in that photograph ? On Tue, 27 Nov 2001 19:52, Jeff Turner wrote: > Hi, > > In the geotools project (http://geotools.sf.net), we're developing an > applet that currently requires over 1mb of external jars. I suspect that > a lot of cla

Re: Ant 1.4.1 and JUnit

2001-11-26 Thread Peter Donald
On Tue, 27 Nov 2001 10:42, Steve Cohen wrote: > Duh! That was it. Thank you. I had them there in an earlier attempt > but forgot to put them back for the later one. np ;) > > -Original Message----- > From: Peter Donald [mailto:[EMAIL PROTECTED]] > Sent: Monday, Novembe

Re: Ant 1.4.1 and JUnit

2001-11-26 Thread Peter Donald
; > -Original Message- > From: Peter Donald [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 26, 2001 4:24 PM > To: Ant Users List > Subject: Re: Ant 1.4.1 and JUnit > > > When building optional.jar you need to include junit.jar in classpath - > best > to do tha

Re: Ant 1.4.1 and JUnit

2001-11-26 Thread Peter Donald
When building optional.jar you need to include junit.jar in classpath - best to do that by placing itt in lib/optional/junit.jar IIRC. On Tue, 27 Nov 2001 08:38, Steve Cohen wrote: > I built an optional.jar as part of the ant build process. Now that I > look at it, I don't see anything in that

Re: ant 1.4.1 style task on Mac OSX

2001-11-26 Thread Peter Donald
thats nice. You are going to need to give more information if you want to get an answer.. What errors? On Tue, 27 Nov 2001 06:53, Chappell, Simon P wrote: > Has anyone out there had success working with the style task of ant > 1.4.1 under Mac OSX? It works fine on my Linux box, but I get errors

Re: [POLL] jakarta-ant-templates (Generic Ant-based project templates)

2001-11-21 Thread Peter Donald
Hi, sounds good but I have a request. Could you call these recipies and not templates? Already the term template is used to mean something completely different in context of Ant2. -- Cheers, Pete -- Mark Twain: "In the real world, the rig

Re: Newbie Questions

2001-11-21 Thread Peter Donald
Almost all of the jakarta projects use ant in some for or another. It may be an idea to download the source for one of them and have a look at their build files. Ant itself has a relatively well structured build file (except it is rather largish for an example) if thats what you are looking f

Re: Fileset in Win2k with files from different drives?

2001-11-20 Thread Peter Donald
On Wed, 21 Nov 2001 11:24, Skip Hovsmith wrote: > How does one specify a containing files from different drives on > Win2k? > > Something like > > > > doesn't seem to work, "/" seems to refer to the root directory of the > current drive instead of the root of all drives. use a different files

Re: Directory names with spaces in a directory-based task

2001-11-20 Thread Peter Donald
On Wed, 21 Nov 2001 11:52, McHenry, Matt wrote: > I see by looking at the source code that e.g. the includes attribute for a > directory-based task is being tokenized not only on commas but also on > spaces. This obviously presents a problem when dealing with files & > directories with spaces in

Re: Ant task that manipulates a Manifest file

2001-11-19 Thread Peter Donald
On Tue, 20 Nov 2001 02:20, Thomas Tuft Muller wrote: > Does it exist? In the latest CVS version it does - you may want to grab a nightly build. -- Cheers, Pete ** | Every rule has an exception, | | except the rule of exceptions. | *---

Re: XSLTProcessor & using xsl file from jar file

2001-11-19 Thread Peter Donald
On Mon, 19 Nov 2001 19:56, Stephane Bailliez wrote: > > -Original Message- > > From: Barry Kaplan [mailto:[EMAIL PROTECTED]] > > [...] > > > c:\somewhere\jar:file:\c:\somewhere\myjar.jar!\com\abwg\tools\ > > ant\ConvertToJ > > builder.xsl > > > > So, what does one generally do in the ant w

Re: RemoteTask, RemoteCopyTask

2001-11-18 Thread Peter Donald
On Mon, 19 Nov 2001 09:59, Brett Porter wrote: > I have written an SCPTask, very simple - uses v1 of mindbright's ssh > utilities which are GPL. > It is a bit rough but if someone can use it I will consider cleaning it up > and posting to ant-dev. > What is the process for this? Ussually it would

Re: taskdef'ing junit

2001-11-17 Thread Peter Donald
On Sun, 18 Nov 2001 17:15, Jeff Turner wrote: > Hi, > > I'm trying to use to define the task, so I don't have > to require all users to copy junit.jar to the $ANT_HOME/lib. > > I currently have: > > > > > > Using jar ${ant.home}/lib/optional.jar > classname="org.apach

Re: How do you version jar files?

2001-11-16 Thread Peter Donald
Attribute names can not have spaces in them. f they do the JVM will not load them. Remove the spaces and try again. On Sat, 17 Nov 2001 05:58, Ylan Segal wrote: > I thought it would be a good idea to add some stuff to the manifest file so > that later it could help me debug, so I did: > >

Re: class.forName()

2001-11-16 Thread Peter Donald
On Sat, 17 Nov 2001 01:47, Mark Claassen wrote: > > The class you are looking up should be in the same classloader or > > a parent > > classloader of your task. So if your task is loaded from ant/lib then the > > other class must also be in ant/lib etc. > > Does ant use a different class loader fo

Re: Standardized jar manifest entries? (Re: How do you version jar files?)

2001-11-16 Thread Peter Donald
On Sat, 17 Nov 2001 04:02, Craig R. McClanahan wrote: > On Fri, 16 Nov 2001, Jeff Turner wrote: > > Java's official versioning spec [1] seems curiously irrelevant. It talks > > about API specifications, and implementations thereof; not the sort of > > scenario most people deal with. It's primary u

Re: class.forName()

2001-11-16 Thread Peter Donald
On Sat, 17 Nov 2001 01:16, Michael Remme wrote: > in ant 1.4 i have the problem, that the Class.forName() is throwing an > exception. I saw in the archive, that there was a similar request, but did > not find any reply. > > Here the problem is residing in an own taskdef, where i want to instantiat

Re: Standardized jar manifest entries? (Re: How do you version jar files?)

2001-11-16 Thread Peter Donald
Personally I would instead choose to just enhance the jdk1.3 "Optional Pacakge" spec with an extra attribute. (ie Jakarta-Rules: true or something better named) and then just add more fixed rules on interpretation of versions. The reason is that the "Optional Pacakge" spec is used in servlet,

Re: RemoteTask, RemoteCopyTask

2001-11-16 Thread Peter Donald
On Fri, 16 Nov 2001 21:19, Joel Cordonnier wrote: > Hi ! > > Are the RemoteTask task, RemoteCopyTask... describe in > this article > http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-ant_p.html > already blundled with Ant ?? Never heard of remote task or remote copy before this. It looks like

Re: translate javac output

2001-11-16 Thread Peter Donald
On Fri, 16 Nov 2001 21:16, Danny Angus wrote: > Hi, > please bear with me, cos I'm new to this list, and I can't find the answer > to this question in the archive.. > > I use a freeware IDE, Jcreator, which suits me fine, I can set up ant to be > run from within it for any project and any target (

Re: print cvs revision tag ...

2001-11-16 Thread Peter Donald
On Fri, 16 Nov 2001 21:04, Rafal Kedziorski wrote: > Hallo, > > I have following property entry in my build.properties: > > build.revision = $Revision: 1.2.4.1 $ > > And this in build.xml: > > > > ... > > > My output looks: > > bash-2.03$ ./build.sh > Buildfile: build.xml >

Re: How do you version jar files?

2001-11-16 Thread Peter Donald
On Fri, 16 Nov 2001 19:36, Markus Kohler wrote: > If Java would have a standard for this (I haven't found one) See jdk1.3 docs looking for term Extension or Optional Package. It is not bad but is a really immature system in some ways. If you want to make an incompatible change you have to cha

Re: Problems creating WAR file

2001-11-15 Thread Peter Donald
On Fri, 16 Nov 2001 08:16, Michael Weir (Transform Research) wrote: > I create a .war file using ant code that looks like this: > > basedir="${win32.webappsDir}" > excludes="*.war" > excludes="

Re: Building multiple targets using the task?

2001-11-15 Thread Peter Donald
On Fri, 16 Nov 2001 07:01, Bryan Pendleton wrote: > When I run ant from the command line, I can say > > ant clean build test1 test2 > > and that single invocation of ant will figure out > all the task dependencies and build all the named > targets, in one single clean pass. actually this is alm

Re: PATH element not resolved !!!! Ant .1.4.1

2001-11-15 Thread Peter Donald
On Fri, 16 Nov 2001 02:23, Joel Cordonnier wrote: > Hi ! > > I have the following problem: > > I have defined a new task named 'configuration', that > read XML datas. These task return the property > 'was.home'. And I use these new task as follow: > > > configproperty="wasHome" property

Re: How do you version jar files?

2001-11-15 Thread Peter Donald
On Fri, 16 Nov 2001 09:47, Conor MacNeill wrote: > Scott, > > There are a number of ways to version jars depending on your taste. > > 1. Name the jar with the version as part of the name. This is the way Ant's > own jars are distributed. > > 2. Add a properties file as a resource to the jar which

Re: Are properties local to a target `???

2001-11-15 Thread Peter Donald
On Fri, 16 Nov 2001 02:54, Joel Cordonnier wrote: > Then.Are properties local to a target `??? no -- Cheers, Pete I just got lost in thought... It was unfamiliar territory. ---

Re: how to abort build if cvs task fails

2001-11-15 Thread Peter Donald
On Thu, 15 Nov 2001 19:40, Stefan Bodewig wrote: > On Thu, 15 Nov 2001, Peter Donald <[EMAIL PROTECTED]> wrote: > > Adding attribute failOnError="true" works in the CVS version of > > Ant. > > Hmm, from cvs log: > > revision 1.15 > date: 2001/06/01 0

Re: how to abort build if cvs task fails

2001-11-15 Thread Peter Donald
Adding attribute failOnError="true" works in the CVS version of Ant. I am not sure if it made it into last release of ant (thought I thought it did). You could try that or else grab a nightly build of ant. On Thu, 15 Nov 2001 05:15, Ryan Grow wrote: > Hello, > > What does ant do when a task suc

Re: Command line input

2001-11-15 Thread Peter Donald
On Thu, 15 Nov 2001 19:19, Kevin Jones wrote: > > > Is this a fundamental problem in Ant or is there some work-around? > > > > It is not a "fundamental problem in Ant" as much as a design > > choice some made > > when they originally wrote the java task. You could argue that it was the > > wrong c

Re: Command line input

2001-11-14 Thread Peter Donald
On Thu, 15 Nov 2001 00:37, Kevin Jones wrote: > Thanks, > > I hoped that wasn't the case :-( > > Is this a fundamental problem in Ant or is there some work-around? It is not a "fundamental problem in Ant" as much as a design choice some made when they originally wrote the java task. You could ar

Re: Sub-element question

2001-11-14 Thread Peter Donald
On Thu, 15 Nov 2001 00:39, Mark Claassen wrote: > I am trying to write a custom task and I need to have a subelement in it > like the following example. > > > > > > ... > > > > This may be more of a dev question, but I was wondering if so

Re: How do I get a fileset to include only directories?

2001-11-14 Thread Peter Donald
On Thu, 15 Nov 2001 00:31, Alan Pearlman Spencer wrote: > Hi I'm trying to search for a file in a dir tree. > I'm using: > property="found"> > > > > > > > > > > The pathelement works, but I can't get the fileset to include all dirs > in t

Re: "private" targets

2001-11-01 Thread Peter Donald
On Fri, 2 Nov 2001 07:10, Todd Chambery wrote: > Hi all, > > I've noticed that, for organization's sake and code reuse, I've created a > lot of "dependent" targets. These are essentially fragments common to > other targets for which it would make sense to run independently. > > I'd like to make i

Re: jarfile attribute deprecated

2001-10-27 Thread Peter Donald
On Sun, 28 Oct 2001 09:01, Vincent Massol wrote: > It seems that "The jarfile attribute is deprecated. Use file attribute > instead". However, the documentation on the ant website does not make any > mention of that in the jar task section. Shouldn't it be updated ? The website keeps documentatio

Re: Hotmail filter

2001-10-27 Thread Peter Donald
On Fri, 26 Oct 2001 20:25, James Carroll wrote: > I apologize for this not be a "real" ant user question, but I'm new so a > little slack would be appreciated. > > I'm having trouble setting my Hotmail filters to get all these mailing list > messages routed to a particular folder.  I've looked at

Re: Question on wildcard

2001-10-26 Thread Peter Donald
On Thu, 25 Oct 2001 09:32, [EMAIL PROTECTED] wrote: > Hi > > I am in the process of converting one Imakefile to Ant. I have not been > able to convert the following line in that Imakefile to Ant: I would not try to convert things line by line or else you are going to cause yourself real pain. I

Re: Why use an init target ?

2001-10-24 Thread Peter Donald
On Wed, 24 Oct 2001 09:19, Wilson, Bruce wrote: > I ask this specifically because right now we're changing our build.xml to > use a tag to define > the CLASSPATH for compiling our Java code, and we've found that the > tag can't be in a > tag - seems it has to be in the tag. Yet we have a coup

Re: Problem using ant 1.4 under the latest OSX 10.1

2001-10-04 Thread Peter Donald
On Thu, 4 Oct 2001 09:01, Scott Ellsworth wrote: > At 01:20 PM 10/3/2001 +0200, Luc Heinrich wrote: > >I have just upgraded my OSX box to the latest 10.1 version and my ant > >projects now don't compile anymore. I got this message at the first > > task: > > > >/path/to/my/project/build.xml:57: /Us

Re: Ant 1.4.1 Beta available

2001-10-02 Thread Peter Donald
On Tue, 2 Oct 2001 11:37, Prakash Dhavali wrote: > Hi Shyam Koppikar, > > Looks like you have some problem with your e-mail system. Why > are you pumping these unchanged ant-user list messages back to > the group? > > Can you please correct it, we already got 20+ emails yesterday > and 10+ today?

Re: property values help

2001-09-27 Thread Peter Donald
On Thu, 27 Sep 2001 22:46, Shannon L Blake wrote: > I am trying to set a property value equal to a UNIX command. How > would I go about doing this?? It does not look to me like the > attributes value, location or refid are capable of doing this. Err ignore my last mail I missed the part where y

Re: property values help

2001-09-27 Thread Peter Donald
On Thu, 27 Sep 2001 22:46, Shannon L Blake wrote: > I am trying to set a property value equal to a UNIX command. How > would I go about doing this?? It does not look to me like the > attributes value, location or refid are capable of doing this. Read the documentation for environment attribute

Re: Problem with zip permissions

2001-09-24 Thread Peter Donald
On Tue, 25 Sep 2001 14:06, Michael Leo wrote: > I am using version 1.3. Should I upgrade to 1.4? yep. > I'm sure you heard this, but are there any issues using 1.4 after > everyone got used to 1.3? Theres a list of known incompatabilities in the changelog. It is under a heading something like

Re: Problem with v1.4 and the J2EE tutorial

2001-09-24 Thread Peter Donald
On Tue, 25 Sep 2001 10:06, tc wrote: > I don't know if this has been reported yet. I made a cursory check of the > archives and didn't see anything. > > I had major problems with ant v1.4 and the J2EE tutorial that were solved > by moving back to ant v1.3. > > Since Sun explicitly uses an ant buil

Re: FileSet question

2001-09-24 Thread Peter Donald
On Tue, 25 Sep 2001 07:48, JohnA wrote: > then > > > > > > > will match the following files > html/h1.html > html/h2.html > cgi-bin/c1.pl > cgi-bin/c2.pl > > but > > > > > > matches _nothing_, I don'

Re: Problem with zip permissions

2001-09-24 Thread Peter Donald
On Tue, 25 Sep 2001 10:12, Michael Leo wrote: > Gang, > > When I unzip a file (in UNIX using unzip) that was created > by ant, it uses my UNIX umask to set the permissions for all > the files in the zip archive. > > What am I missing? I can't traverse the directory structure > without chmodding .

Re: Is there an Ant Processing Theory?

2001-09-23 Thread Peter Donald
On Sun, 23 Sep 2001 07:10, Frank E. Weiss wrote: > Aside from that, I've been wondering what depth there is to ant, or if > it is falls into the genre of ad-hoc of tools. Looking through the > documentation I'm a bit disappointed. For example, the assertion "Ant > resolves these dependencies" is a

Re: Manifest bug?

2001-09-21 Thread Peter Donald
On Sat, 22 Sep 2001 02:15, Richard Wilkinson wrote: > Can anyone confirm a JAR manifest bug when creating a JAR file. > The Ant 1.4 manifest file truncates the lines to a fixed size, replacing > the remainder on the next line (see below) > > Manifest-Version: 1.0 > Created-By: Ant 1.4 > > Name: co

Re: suggestions

2001-09-21 Thread Peter Donald
On Fri, 21 Sep 2001 15:34, Craig Longman wrote: > On Thu, 2001-09-20 at 21:54, Peter Donald wrote: > > > > --- Craig Longman <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > Because as soon as we did that there would al

Re: suggestions

2001-09-21 Thread Peter Donald
On Fri, 21 Sep 2001 15:34, Craig Longman wrote: > On Thu, 2001-09-20 at 21:54, Peter Donald wrote: > > > > --- Craig Longman <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > Because as soon as we did that there would al

Re: multiple filesets in a task

2001-09-20 Thread Peter Donald
On Fri, 21 Sep 2001 12:57, JohnA wrote: > I am writing a taskdef that requires two FileSets. I need to distinguish > between them. I am currently using the description= attribute. I do not > want to get into using position i.e. the first fileset vs the second > fileset. > > Is there a better techn

Re: suggestions

2001-09-20 Thread Peter Donald
On Fri, 21 Sep 2001 06:04, Craig Longman wrote: > On Thu, 2001-09-20 at 13:17, Diane Holt wrote: > > --- Craig Longman <[EMAIL PROTECTED]> wrote: > > > 1) it seems like some way of quickly comparing a property to some value > > > would be helpful. as an '=' is almost certainly never going to be a

Re: suggestions

2001-09-20 Thread Peter Donald
On Fri, 21 Sep 2001 03:17, Diane Holt wrote: > > 4) some way to indicate that a target is to be only called from the > > build file itself, not externally. this is basically what i'm trying to > > simulate in 3), but being able to code it directly in the build file > > might be helpful. > > I sup

Re: build times unix/windows

2001-09-17 Thread Peter Donald
On Tue, 18 Sep 2001 06:51, Troy Gould wrote: > This sounds really odd, but it's taking way longer for ant to work on a > unix box versus a windows box. > Doing a javac with the same version of the jdk (1.3.1) takes 19 seconds > on windows 2000 and 50 seconds on Unix. > I'm also doing a bunch of e

Re: FileSet as a command line argument

2001-09-17 Thread Peter Donald
On Tue, 18 Sep 2001 09:55, Azariah Jeyakumar wrote: > Hi, > > How do I pass a set of file names as a command line argument in tasks such > as "java" or "exec"? > > This is what I would like to be able to do: > > fork="yes"> > > > > > > > > Is there any ot

Re: Cyclic Errors

2001-09-17 Thread Peter Donald
On Mon, 17 Sep 2001 21:34, Brian S. Paskin wrote: > Sorry, that did not help. It is very strange. When there are the > Cyclic errors, I also notice that the javac compile gets I/O Errors, but > that is all it says. I have no clue which I/O Error is encountered. Have you tried using jikes compi

Re: question about javac dependencies!!!

2001-09-14 Thread Peter Donald
On Sat, 15 Sep 2001 08:06, Edgar "Sánchez" wrote: > Hi everyone!!!. > > No body answer my last question, I guess it wasn't > good enough .. well never mind I have another > one... > >I've been having troubles trying to compile my > project. Let me explain myself better... > > I ha

Re: How to javac *only* the .java file I am currently editting?

2001-09-14 Thread Peter Donald
On Sat, 15 Sep 2001 05:57, Matthew Inger wrote: > Java was not meant to "replace" C or C++. Sure it was. If it walks like a duck, quacks like a duck ... > I was > to provide a platform independent alternative, which > removed the most common mistakes that programmers made > (ie, pointers, and

Re: How to javac *only* the .java file I am currently editting?

2001-09-14 Thread Peter Donald
On Sat, 15 Sep 2001 04:39, Diane Holt wrote: > --- Peter Donald <[EMAIL PROTECTED]> wrote: > > Ummm... given that "C/C++" has had pointers (while java doesnt) > > for *decades*, doesn't this strike you as kind of a glaring > > omission for a language th

Re: How to javac *only* the .java file I am currently editting?

2001-09-13 Thread Peter Donald
On Fri, 14 Sep 2001 12:57, Eryq wrote: > Conor MacNeill wrote: > > It cannot be done unless you are prepared to put support for this into > > the buildfile. Typically this could be accomodated by having a new > > target, which is only run if a property is defined. That property would > > be set to

Re: compiling one file at a time

2001-09-13 Thread Peter Donald
On Fri, 14 Sep 2001 00:22, Max Gravitt wrote: > How can I use ant to compile one file at a time? I want to use ant > because I have filesets set up to construct the classpath, etc. But > sometimes I just want to compile one file. And of course, I'd like to > pass the file as a command line para

Re: How to unjar an entire directory of jar files

2001-09-10 Thread Peter Donald
Or alternatively you could just use the zipfileset that allows you to include the contents of another zipfile in current zipfile. On Tue, 11 Sep 2001 06:29, Diane Holt wrote: > Rather than unjar'ing all the jar-files first, then rejar'ing them back > into one file, have you tried using the optio

Re: properties

2001-09-10 Thread Peter Donald
On Mon, 10 Sep 2001 19:08, JohnA wrote: > I've searched the doc for information about properties in the doc but I > can't seem to find a clear answer to: > > 1) what are the built-in properties, if any? > in other words, if I don't define any are there still > some values I can get to using $

Re: Styler task extended to regular fragmentations, custom types.

2001-09-05 Thread Peter Donald
On Wed, 5 Sep 2001 18:01, Conor MacNeill wrote: > Arnold, > > I haven't had time to look at your task. I'm not sure we can accept LGPL > code into the Ant repository. > > Peter, any insight? Nope - any source in Apache CVS has to be ASL'ed and copyright assigned to Apache. -- Cheers, Pete --

Re: global default properties

2001-09-02 Thread Peter Donald
Yep - almost exactly what you describe is slated for Ant2 in some form or another. On Mon, 3 Sep 2001 15:39, JohnA wrote: > I've set up a global properties file: > > > > which contains some values for the compiler (e.g. build.compiler = jikes) > > I've tried to set up some of the other propert

Re: Extracting Version

2001-08-31 Thread Peter Donald
On Fri, 31 Aug 2001 15:36, Sachin Shah wrote: > Hi, > > I have an application developed i want to incorporate the version and build > information within the application such that everytime i release the > application i can get the exact version and build information. does any one > has idea how to

Re: Why doesn't the path on a Jar file is puted when using fileset on a jar Tag?

2001-08-30 Thread Peter Donald
On Fri, 31 Aug 2001 09:20, Edgar "Sánchez" wrote: > Hi everyone, i think I got it... but the only thing, > and hope the last one is to put the path of the file > for the 4 files I put into my jar. After generating > the jar I checked it out, and see if those files were > added. the files we

Re: includes and excludes

2001-08-30 Thread Peter Donald
I believe that excludes will always take precedence and thus chuck out your includes "matches". What you may be able to do is something like Not sure - haven't checked it works but try that ;) On Fri, 31 Aug 2001 01:09, Kyle Adams wrote: > I'm still stuck on

Re: [OT] UML/Diagramming tasks/tools?

2001-08-30 Thread Peter Donald
On Thu, 30 Aug 2001 17:09, Jim Cheesman wrote: > At 05:52 AM 30/08/01, you wrote: > >Hi, > > > >Does anyone know of any tools that render UML (or other style) diagrams if > >you givem a sourcetree. ie I want to UML-ify src/java/** and then link to > > it from javadoc. Anyone know of any available

[OT] UML/Diagramming tasks/tools?

2001-08-29 Thread Peter Donald
Hi, Does anyone know of any tools that render UML (or other style) diagrams if you givem a sourcetree. ie I want to UML-ify src/java/** and then link to it from javadoc. Anyone know of any available tools to do that? -- Cheers, Pete ** | Every rule has an exc

Re: BUG maybe?

2001-08-22 Thread Peter Donald
Not a bug - a feature. Depends lists dependencies and once it has been satisfied there is no need to run dependency again. It is designed to work that way. Personally I would rework your build system to not have multiple builds sharing same directory. Another option would be to use antcall whi

  1   2   3   4   5   >