Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread David Garratt
OK - I understand - I had expected a script to have a .sh file extension > On 22 Nov 2021, at 13:10, Matt Benson wrote: > > Usually this "top one" is a shell script rather than a compiled executable. > > Matt > > On Mon, Nov 22, 2021, 7:02 AM David Garrat

Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread David Garratt
:14, Dominique Devienne wrote: > > On Mon, Nov 22, 2021 at 12:23 PM David Garratt > wrote: > >> I will soon be getting a M1 based Apple Mac and I am looking for >> compatible builds of my most frequently used tools including ANT. > > At the moment I’ve not been able to fi

Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread David Garratt
asking about the binary executable with invokes the java are and runs the .jars Dave > On 22 Nov 2021, at 12:14, Dominique Devienne wrote: > > On Mon, Nov 22, 2021 at 12:23 PM David Garratt > wrote: > >> I will soon be getting a M1 based Apple Mac and I am looking for >&

Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread David Garratt
I will soon be getting a M1 based Apple Mac and I am looking for compatible builds of my most frequently used tools including ANT. At the moment I’ve not been able to find anything which looks like it’s built for an arm CPU. Could anyone point me in the right direction please.

Re: tools.jar not found

2015-04-28 Thread David J. B. Hollis
x27;m sure a lot of folks would be highly delighted. Many thanks, David > I thought using a custom Logger could solve your problem. > That logger would simply supress special messages. > > But after failing tests I searched for that message: > Locator.getToolsJar() prints directly to

RE: Error about "Provider xx not a subtype" from using Ant XJC task

2015-01-29 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Tuesday, January 20, 2015 10:59 AM > To: Ant Users List > Subject: RE: Error about "Provider xx not a subtype" from using Ant XJC > task > > > -Original Message- > > From: KARR, DAVID

RE: Error about "Provider xx not a subtype" from using Ant XJC task

2015-01-20 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Friday, January 16, 2015 9:44 AM > To: user@ant.apache.org > Subject: Error about "Provider xx not a subtype" from using Ant XJC task > > I'm using the Ant XJC task, and attempting to load two JAXB exte

Error about "Provider xx not a subtype" from using Ant XJC task

2015-01-16 Thread KARR, DAVID
I'm using the Ant XJC task, and attempting to load two JAXB extensions. One is a local copy of the "element wrapper" plugin, and the other the "fluent api". When I run this, I get the following error: Caused by: java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin:

RE: How to gracefully not use a feature if the task jar isn't present?

2014-05-29 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Thursday, May 29, 2014 4:12 PM > To: Ant Users List > Subject: How to gracefully not use a feature if the task jar isn't > present? > > I'm trying to implement an optional feature in a build script that &

How to gracefully not use a feature if the task jar isn't present?

2014-05-29 Thread KARR, DAVID
I'm trying to implement an optional feature in a build script that utilizes the "xmltask" jar. To be less intrusive, I want the feature to be silently disabled if the xmltask jar isn't available. I initially assumed that I would check for the presence of the jar in "$HOME/.ant/lib", but that ha

list maint

2013-11-30 Thread David Coleman
not sure who should handle this but every mail i send to the list generates a "cannot deliver" email bouncing back to me from kola.oyed...@columbusinsurance.co.uk

appologies

2013-11-29 Thread David Coleman
I apologize to Jan. I expressed my frustration with his troubleshooting approach inappropriately. It was unprofessional, and a horrible first way to present myself. I will try to phrase my questions better in the future so that such questions can be avoided. I will politely share my knowledg

RE: AW: AW: problem with ftp

2013-11-29 Thread David Coleman
re information. Honestly, I'm sure he has helped many people. But I think that just because I'm new doesn't mean he can condescend me. Date: Sat, 30 Nov 2013 00:51:36 -0500 From: sflo...@nc.rr.com To: user@ant.apache.org Subject: RE: AW: AW: problem with ftp David, I&

RE: AW: AW: problem with ftp

2013-11-29 Thread David Coleman
problem with ftp > > > Date: Fri, 29 Nov 2013 06:54:00 +0100 > > > > > > My first thought is that you are setting a property with a strange > > name. > > > Could you run with "-d"? Maybe the debug output gives more hints. > > > Whil

RE: AW: problem with ftp

2013-11-28 Thread David Coleman
ns there (or in the target from where you call deployHoftest). > > Jan > > > -Ursprüngliche Nachricht- > > Von: David Coleman [mailto:david_coleman_...@hotmail.com] > > Gesendet: Donnerstag, 28. November 2013 20:35 > > An: user@ant.apache.org > > Betreff: problem wit

problem with ftp

2013-11-28 Thread David Coleman
hello list! I have an issue with my ftp task in ANT 1.9.1 here is my ftp task: I know that i successfully connect to my server because I get

Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-17 Thread David J. B. Hollis
T xmlcatalog, how it interacts with other Java components such as Saxon, and the Java classpath. HTH, David > > I’m trying to get DocBook WebHelp building working, which uses Ant to control > the various processes involved, in particular Xslt. > I would like to use Catalogs for resol

RE: Why is javac for unit tests working for me, but not someone else?

2013-02-15 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Friday, February 15, 2013 3:21 PM > To: Ant Users List > Subject: Why is javac for unit tests working for me, but not someone else? > > I implemented a target in a base build script for compiling and running unit &

Why is javac for unit tests working for me, but not someone else?

2013-02-15 Thread KARR, DAVID
I implemented a target in a base build script for compiling and running unit tests with cobertura. It's working fine in my environment. Someone I work with is trying to use it in their environment. As expected, it bombs completely in his environment. I'm trying to find some clues that tell m

How do I change the default conflict manager?

2012-04-02 Thread David Goblirsch
How can I change the default conflict manager from latest-revision to latest-compatible? I work at a site where we have 300+ ivy projects, and every time I put out a new 3rd party jar the builds all break unless I start at the bottom of the dependency hierarchy and rebuild everything. Updating

How do I trace where a target was called from in a complicated build?

2012-03-19 Thread KARR, DAVID
I'm working with a complex build that calls the "clean" target at some point. I need to figure out how/where that target is referenced. I've turned on Ant verbose output, but none of the additional information that produces helps me understand why "clean" was called. How can I trace how/where

Possible reasons for failing to find XJC task class

2011-10-10 Thread KARR, DAVID
I work with two groups who are both importing a build script written by our team. The imported build script has a "taskdef" to define the "xjc2" task, using "com.sun.tools.xjc.XJCTask". Below that, there is a target that references the "xjc2" task. The taskdef looks like this:

Re: Problems using properties containing multiple dollar signs.

2011-08-17 Thread David Weintraub
ariable seems correct, but the echo is wrong. However, this does work: So, by declaring a variable equal to "$" and using that instead of dollar signs seems to work. -- Da

RE: optional depends for targets

2011-07-22 Thread David Sills
This is how I deal with that: simply set up two (I call them) synthetic targets. One depends on A and C, the other on B, A, and C. Then call one or the other of them. They only need the depends: -Original Message- From: Vimil Saju [mailto:vimils...@yahoo.com] Sent: Thursday, July 21,

RE: Hide password in java ant task

2011-07-07 Thread David Parks
g wasn't implemented on the exec task prior to a few weeks back), though hopefully in your case inputstring is working as advertised in the docs for the java task. David -Original Message- From: Muralidhar Manku [mailto:muralidhar.ma...@gmail.com] Sent: Thursday, July 07, 2011 8:37 P

RE: Ant 1.8.3alpha: task fails to handle quotes within quotes command lines

2011-06-27 Thread David Parks
only talking to myself here. I suppose this is natures version of an infinite loop. -Original Message----- From: David Parks [mailto:davidpark...@yahoo.com] Sent: Tuesday, June 28, 2011 10:35 AM To: user@ant.apache.org Subject: Ant 1.8.3alpha: task fails to handle quotes within quotes com

Ant 1.8.3alpha: task fails to handle quotes within quotes command lines

2011-06-27 Thread David Parks
I'm trying to run a command with both single and double quotes through . I am using last nights build of ant 1.8.3alpha (I should note the same behavior on 1.8.2). But the arguments appear to be incorrectly passed to the command line, as per the following demonstration. This command runs from a DO

ant-trax.jar not included in openjdk (on ubuntu)

2011-03-28 Thread David
into /usr/share/java and my build now works. I'm not sure if it is a build or a run time dependancy for Eclipse, but Should this be something that ant should put back into its shipping packages? Thanks,

Junit task results in 1.8.2

2011-03-23 Thread St. Denis, David
is and the properties page comes up normally. cur['line.separator'] = ' '; Is there an easy remedy for this problem? Thanks, David

Re: Error parsing ivy.xml files using Jenkins

2011-02-25 Thread David Goblirsch
anders.jacobs...@gmail.com wrote: Hi! The Jenkins Ivy plugin uses Ivy 2.1 internally so yes, it would not allow version="2.2". Ivy 2.1 only allows "1.0", "1.1", "1.2", "1.3", "1.4" and "2.0". Good to know, but the manual doesn't say that the ivy-module version tracks the release number.

Re: Saving Manifest Definitions for later

2011-02-16 Thread David Weintraub
> On 2011-02-16, David Weintraub wrote: > > I'd like a way to create a reference to this Manifest setup like you > can with or , so I don't have to keep repeating > this over and over On Wed, Feb 16, 2011 at 10:57 AM, Stefan Bodewig wrote: > > Unfortunatel

Saving Manifest Definitions for later

2011-02-16 Thread David Weintraub
Something like this: Is there a way I could do this, maybe using generic or string references? -- David Weintraub qazw...@gmail.com - To unsubscribe, e

Re: Dual Java Compilers/Replacement for antcontrib

2011-02-16 Thread David Weintraub
so the whole idea that developers had to have a way to do this was sort of bogus to begin with. They can run Ant scripts directly from Eclipse with the versions of Ant and Java they want. Thanks for your help. -- David Weintraub qazw...@gmail.com ---

Re: Dual Java Compilers/Replacement for antcontrib

2011-02-15 Thread David Weintraub
On Tue, Feb 15, 2011 at 2:50 PM, Robert Kirkpatrick wrote: > See http://jwaresoftware.org/wiki/antxtras/home Yeah, I was just looking at it, and it requires different versions for different versions of Ant. Otherwise, it looks like what Apache is pushing. -- David Weintraub qazw...@gmail.

Re: Dual Java Compilers/Replacement for antcontrib

2011-02-15 Thread David Weintraub
the defaults if ${javac.executable} isn't defined and whatever ${javac.executable} is if it is defined. Thanks. -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Dual Java Compilers/Replacement for antcontrib

2011-02-15 Thread David Weintraub
rib that everyone is now using? -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

SplitClassLoader cast error

2011-01-12 Thread David Rush
test1(AccTestViewAllProjectsServlet2.java:76) When deployed, the servlet+jsp is working correctly, but I'm trying to build some tests before I start making some substantial updates to the code (which was originally written with no corresponding tests). Can anybody give me a clue on the ClassCastExcepti

Re: Fixed default target

2010-12-14 Thread David Weintraub
bit "unusual" because you're basically preventing the developer from using Ant to its fullest. -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Running Ant target from a jar

2010-11-30 Thread David Weintraub
tory in Java. You specify the JAR in your CLASSPATH, and the classfiles it contains are available for you to run. -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional comm

Re: Set a default value to property.

2010-11-30 Thread David Weintraub
verride whatever values you set in the build.xml itself, and values from the command line overrided values set in both the build.xml and property files. I do this all the time: -- David Weintraub qazw...@gmail.com - T

Re: Using shell command in ANT script

2010-11-29 Thread David Weintraub
help, please feel free to post here, and let us know what you finally were able to do. It'll be a learning experience for all of us on this list. -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Using shell command in ANT script

2010-11-24 Thread David Weintraub
ble to replace the task. -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Using shell command in ANT script

2010-11-24 Thread David Weintraub
t;ls -l" (with an el). The "-1" (one) parameter will list the files in a single column downward, and you don't have to pipe your command through "awk" just to pull off the file names. -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Ant script to edit a write protected file.

2010-11-22 Thread David Weintraub
your Ant script. You could end up with a JVM error or run out of memory. A half written file could cause problems. Plus, you also want to understand the implications if you have this Ant script being executed simultaneously as two separate processes. -- David Weintraub qazw...@gmail.com ---

Re: Ant Script for JWS Project

2010-11-05 Thread David Weintraub
used Websphere deployment with Ant. There are several custom Websphere Ant tasks that do this. Take a look at IBM's Websphere Ant Page: http://bit.ly/aDQC4E -- David Weintraub qazw...@gmail.com - To unsubscribe, e-

Re: Copy from A -> B based on file structure of C?

2010-11-01 Thread David Weintraub
t; > Thoughts? > > Thanks > Kerry > -- > View this message in context: > http://ant.1045680.n5.nabble.com/Copy-from-A-B-based-on-file-structure-of-C-tp3245973p3245973.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > ------

Re: Getting task class *only* from specified path

2010-11-01 Thread David Weintraub
f specifying a classpath in a taskdef if Ant's going to ignore it anyway? -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Getting task class *only* from specified path

2010-11-01 Thread David Weintraub
cr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Strange IvyDE issue

2010-10-27 Thread David Harrigan
Hi Andrew, Thank you for that :-) -=david=- On 27 October 2010 12:46, Andrew Thorburn wrote: > You could use overrides to explicitly set the version (probably to > 1.1). See > http://ant.apache.org/ivy/history/latest-milestone/ivyfile/override.html > for more on that. > > -

Re: jar ant task

2010-10-26 Thread David Weintraub
t date up to date). -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

RE: Multiple artifacts

2010-10-25 Thread David Sills
Kirby: Many thanks for the suggestion. What I use are the defaults, so the problem hasn't arisen, but I take your point that being specific is the better approach. David Sills

Re: Number expression in Ant?

2010-10-24 Thread David Weintraub
ontrib jarfile there, and then add this to your build.xml: This way, people can use your build.xml without having to install the antcontrib jar file to install antcontrib and configure their ant installation to run your build. This way, the antcontrib jar is simply in your project and is a subdire

Re: Way to not hard-code these values?

2010-10-18 Thread David Weintraub
t" on the command line will do more or less what they expect. If you don't specify default values, you should use tasks to fail the build when particular values are not set by the use via the command line: -- David Weintraub qazw...@gmail.com

RE: Proper way to translate list of jars from properties file into classpath

2010-10-14 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: KARR, DAVID (ATTSI) > Sent: Wednesday, October 13, 2010 1:05 PM > To: Ant Users List > Subject: Proper way to translate list of jars from properties file into > classpath > > I have a property defined in my properties file that spe

Proper way to translate list of jars from properties file into classpath

2010-10-13 Thread KARR, DAVID (ATTSI)
I have a property defined in my properties file that specifies a list of jar files associated with a particular framework. I'll need to reference all of those jars any time I reference one of them, so I put them in a single property. It currently looks like this: cxf-patches = ${lib}/cxf-xjc

Question about the Include task

2010-10-11 Thread David Sills
rriding targets. What I wouldn't have expected was such a fuss over properties. Any and all ideas muchly appreciated. David Sills

Re: avoid ftp get if files are too old?

2010-10-09 Thread David Weintraub
possibility is to use the task to actually run the Unix ftp command itself. You can use a NETRC file (which can be passed to the ftp command to run the commands you want (login, cd to the correct file, and then run an "ls -l"). You'll probably have to then parse thi

Re: Delete files from dir-1 where file name same as a file in dir-2

2010-09-28 Thread David Weintraub
> > > > > > > > > {{ syntax incomplete }} > > Up to now, the delete is removing every file from the generated directory. > > Any pointers will be appreciated. > > Michael > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.or

Re: conditional global variables?

2010-09-26 Thread David Weintraub
fically install the ant-contrib.jar file. You can find Ant-Contrib at: http://ant-contrib.sourceforge.net The task looks like this: -- David Weintraub qazw...@gmail.com - To unsubs

Re: missing ant-starteam.jar

2010-09-26 Thread David Weintraub
I found when doing a search for StarTeam on the >>ant.apache.org web site is some "Checkstyle Audit" and Sandbox pages: >> >>https://svn.apache.org/repos/asf/ant/sandbox/antlibs/starteam/t >>runk/src/main/org/apache/tools/ant/taskdefs/optional/starteam/ >> >>Is this no longer suppor

Re: import of build-dependencies.xml

2010-09-06 Thread David Weintraub
asier to use than trying to use the Ant tasks to do what you want. Ivy is an addition to Ant that handles dependencies much like Maven does, and even uses Maven's repositories. And, Ivy is very easy to use and integrate into existing Ant build.xml scripts. -- David Weint

RE: "available" appears to get confused if I use "-f buildfile"

2010-08-19 Thread KARR, DAVID (ATTSI)
d.xml ", this doesn't work because it looks for the "review" directory in the "../dir" directory, not the current directory. > -Original Message- > From: KARR, DAVID (ATTSI) [mailto:dk0...@att.com] > Sent: Thursday, August 19, 2010 2:08 PM >

"available" appears to get confused if I use "-f buildfile"

2010-08-19 Thread KARR, DAVID (ATTSI)
I have a build file that gets imported into my current build file. The imported build file has an "available" task to set a property if a particular directory exists, in the current directory. I have a situation where I might instead have to not have that "import", but instead do a "ant -f ../...

Re: Remove duplicate JAR file names from an XML file

2010-07-30 Thread David Weintraub
your repository? * If this is a generated list at build time, exactly where are you getting the information for this XML? This will help me understand the possible issues involved. It would be better if we could correct the duplication before they were put into the XML file instead of pa

Re: How to the currently used java version and java install path?

2010-07-27 Thread David Weintraub
t; e.g. > > 1.5.upd03 > > Ben > > > > > > > > > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h

Re: Problem with Ant pathconvert and paths with spaces

2010-07-23 Thread David Weintraub
l/Types/mapper.html#filter-mapper This might work: -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: CopyTask: attribute to overwrite readonly files

2010-07-23 Thread David Weintraub
ute. In Unix/Linux, it is "chmod -R +w". In Windows, it is "attrib -r". You can verify the OS via the "exec" command with the "exec" task's "osfamily" parameter. It can be "

Re: outofdate task returns TRUE if no target files exist??

2010-07-20 Thread David Weintraub
{destination}/myapp.ear" directory yet > (I'm > building for the first time after cleanup) - the outofdate task still returns > TRUE. Needless to say, I would prefer the opposite behavior - if no target > files > exist - consider them out-of-date. > Is this the expe

Re: Reusing property values in a properties file

2010-07-10 Thread David Weintraub
--- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Overriding ant task

2010-07-04 Thread David Weintraub
e/tools/ant/util/ResourceUtils.java > > classpath="/path/to/antfix.jar"/> > > Doesnt work : > >         > > > > >         >         > > ----- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org &g

Re: How to retrieve directory name

2010-06-25 Thread David Weintraub
trieve-directory-name-tp28997168p28997168.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > -- David Wei

Re: build process doesn't stop when an ant task failed

2010-06-22 Thread David Weintraub
gt; will say build successful.  Then I don't have the opportunity to catch > the failed tasks. > > Any help is appreciated.  Struggling here. > > Thank you > -- David Weintraub qazw...@gmail.com - To unsubscribe

RE: Copy task fails on AIX & Suse Linux 9

2010-05-27 Thread St. Denis, David
org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:853) at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:523) granularity option on copy had no effect, local disk vs nfs mount had no effect. Sles10 works okay though. Thanks -dave From: St. Denis, David Sent: Wednesday, May 26, 2010 9:03 AM To: '

Copy task fails on AIX

2010-05-26 Thread St. Denis, David
Ant copy task fails to copy file properly on AIX with Ant 1.8.0 and 1.8.1. The files appear to copy but end up empty. Switching between Java 1.5 and 1.6 had no effect when using Ant 1.8 or 1.8.1, but switching back to Ant 1.7 the copy task started working again. Apache Ant version 1.7.0 co

How to put all jars in a path variable (minus some exclusions) into WEB-INF/lib?

2010-05-20 Thread KARR, DAVID (ATTSI)
I have a "build.classpath" path variable. I want all of the jars, but not the classes, and minus some specific exclusions, to be put into my WEB-INF/lib. All of the jars specified there are stored in a specific directory, but I don't know that I want to depend on that. I have a "war" element, an

Re: Automating without foreach?

2010-05-04 Thread David Weintraub
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > -- David Weintraub qazw...@gmail.com -

Re: ANT 1.7.1 property evaluation

2010-05-01 Thread David Weintraub
the macro fills in the valued. @{option1} @{option2} -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For addit

Re: Adding Optional Jars in an Ant build

2010-04-29 Thread David Weintraub
ll need to be done for to enable it >> to work the same way. >> >> The ant-contrib ant task classes are not in the same classloader >> as the body of ant, so there is not the same problem. >> >> Peter >> >> >> On Tue, Apr 27, 2010 at 6:18 PM, David We

Adding Optional Jars in an Ant build

2010-04-27 Thread David Weintraub
want a way to do this by simply checking out the project and have the project have the needed jarfiles. -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: SCP Task

2010-04-27 Thread David Weintraub
t tell everyone they have to use Ant 1.8 if they want to use the remote deploy option. -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

SCP Task

2010-04-27 Thread David Weintraub
Does the SCP task work? We use Ant 1.7 and recently tried the task. We included the jsch.jar, but we got the following error: BUILD FAILED /Users/david/test/build.xml:5: Problem: failed to create task or type scp Cause: the class org.apache.tools.ant.taskdefs.optional.ssh.Scp was not found

Re: is ant compatible on windows7

2010-04-19 Thread David Weintraub
un JDK 1.3 and JDK 1.4. Ant is compatible across a wide variety of Linux and Unix platforms, Mac OS X, all Windows versions, and some operating systems that you'll probably will never run across. That's one of the reasons while Ant was written in Java. -- David Weintraub qazw...@gmail.com

Re: where to download the latest ant-contrib-1.0b3.jar

2010-04-15 Thread David Weintraub
uot; task is defined there. Here's my build file: Letter @{letter} -- David Weintraub qazw...@gmail.com

Re: PropertyRegex help

2010-04-15 Thread David Weintraub
8261946p28261946.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > -- David Weintraub qazw...@gmail.com

Re: where to download the latest ant-contrib-1.0b3.jar

2010-04-15 Thread David Weintraub
b folder of your Ant installation. If you can't install the jarfile in your Ant's lib folder, then install it in a folder called "lib" under the directory where your build.xml is located. Then try this: That will allow Ant to find the ant-contrib JAR file. -- David Weintraub qazw...@gmail.com

RE: Rename a dir

2010-03-26 Thread St. Denis, David
Is this not what you are looking for? -Original Message- From: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de] Sent: Friday, March 26, 2010 2:04 AM To: Ant Users List Subject: AW: Rename a dir Thanks Antoine, The ANT docu says: Since Ant 1.6.3, the file attribut

Re: AW: javac output when using ant?

2010-03-24 Thread David Weintraub
ending the errors to STDERR instead of STDOUT. If you have a Unix box, you need to do the following: $ ant > logfile.txt 2>&1 That will put both STDERR and STDOUT into the file logfile.txt. If you are on Windows, you need to do the following: C:\> ant >

Re: Clover - Ant integration

2010-03-23 Thread David Weintraub
reports. Once that was done, configuring Hudson to display the reports was easy. -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Sorry about the repeated messages.

2010-03-01 Thread David Goblirsch
The windows emailer kept insisting the mail was never sent. Yikes.

Re: artifactreport leaves out some dependencies

2010-03-01 Thread David Goblirsch
Maarten Coene wrote: Seems like a bug to me, could you provide more details? Maarten - Original Message From: David Goblirsch To: ivy-u...@ant.apache.org Sent: Thu, February 25, 2010 7:18:33 PM Subject: artifactreport leaves out some dependencies I have a resolve target in an ant

Trouble trying to use xjc from JAXB 2 with Ant 1.7.1

2010-02-09 Thread KARR, DAVID (ATTSI)
I'm having some annoying classpath problems trying to do something relatively simple, just running the "xjc" task from a small Ant build script. I'm using JDK 1.5 and Ant 1.7.1. I'm seeing the following exception when I try to run xjc: java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/runtime/

RE: Ant build that compiles and enhances in same build fails to find enhanceable classes

2010-02-01 Thread KARR, DAVID (ATTCINW)
> -Original Message- > From: Stefan Bodewig [mailto:bode...@apache.org] > Sent: Monday, February 01, 2010 3:16 AM > To: user@ant.apache.org > Subject: Re: Ant build that compiles and enhances in same build fails > to find enhanceable classes > > On 2010-01-31, KARR

Ant build that compiles and enhances in same build fails to find enhanceable classes

2010-01-31 Thread KARR, DAVID (ATTCINW)
I don't know if this is an Ant-specific problem, or an issue with the OpenJPA PCEnhancerTask class. I have an Ant build script whose "build" target has "compile, enhance-classes" as an excerpt from its dependencies. The "compile" target writes classes to "build/classes", and "enhance-classes" ref

Best way to have script fail if not using new enough JDK?

2009-12-20 Thread KARR, DAVID (ATTCINW)
I need to have my Ant script abort if the current JDK version is older than the project needs (1.6). I noticed a "JavaVersionTask" sample at which would probably help, but I wonder if there's an easier way since that article was written (4 years ago). I can see the

Re: Filesets

2009-12-18 Thread David Weintraub
/h/ because those are DIRECTORIES. Meanwhile: Will match * a/b/c/pages/1.txt * a/b/c/pages/2.txt But it won't match: * a/b/c/pages/d/1.txt * a/b/c/pages/d/e/f/g/h/2.txt -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Does the "sql" task not close its connection when done?

2009-12-16 Thread KARR, DAVID (ATTCINW)
I'm trying to build a test suite using an embedded Derby server. In my build.xml, I have a "sql" task that executes my "create table" sql, and then I run "junit" to run my tests that use the database. I'm finding that Derby is giving me an error while in the test class, saying that "Another insta

RE: How to copy jars of path variable to dir, excluding some jars?

2009-12-15 Thread KARR, DAVID (ATTCINW)
;*.jar" with excludes for the things I don't want there. It would have been slightly cleaner to start with the "build.classpath" list, but this will be fine. > On Dec 15, 2009, at 2:47 PM, KARR, DAVID (ATTCINW) wrote: > > > I have a path variable that I set in my b

RE: How to copy jars of path variable to dir, excluding some jars?

2009-12-15 Thread KARR, DAVID (ATTCINW)
> -Original Message- > From: Scot P. Floess [mailto:sflo...@nc.rr.com] > Sent: Tuesday, December 15, 2009 1:15 PM > To: Ant Users List > Subject: Re: How to copy jars of path variable to dir, excluding some > jars? > > > On Tue, 15 Dec 2009, KARR, DAVID (ATTC

How to copy jars of path variable to dir, excluding some jars?

2009-12-15 Thread KARR, DAVID (ATTCINW)
I have a path variable that I set in my build script. I'm trying to assemble a deployment unit where I have to copy all the jars specified in that path variable into a directory, but excluding certain jars. I'm still trying to figure out how I copy the jars of a path var, I'm not even getting to

RE: How to print out resulting classpath from a classpath variable?

2009-12-11 Thread KARR, DAVID (ATTCINW)
e.xml" file, which is stored in one of the classpath entries. I might post a separate note on this issue. > > > > > > > > > -- > Jürgen Knuplesch > -Ursprüngliche Nachricht- > Von: KARR, DAVID (ATTCINW) [mailto:dk0.

  1   2   3   4   5   6   7   8   9   >