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: 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

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: 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: 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: 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: 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: 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
se to include another JAR file that includes this classsfile? Never used the scp task before. -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: u

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: 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

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

Re: ANT Property substutition in log4j.properties

2009-12-10 Thread David Weintraub
gt; > I tried that also, with the same results. > > ----- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > -- David Weintraub qazw...@gmail.c

Re: problem with Excludes in the Ant.

2009-11-24 Thread David Weintraub
ld.nabble.com/problem-with-Excludes-in-the-Ant.-tp26477569p26477569.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@ant.

Re: What was the ANT Command Line?

2009-11-18 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: java.lang.ClassNotFoundException confused with the classpath lib

2009-11-12 Thread David Weintraub
> How should I have the path for my lib? I have tried > "WEB-INF/lib/runtime/dwr.jar" it won't work either. > > Can someone help me with this. > Thanks, > > >       > __ > W

Re: Creating a fileset from a list of filenames

2009-11-04 Thread David Weintraub
mstance? If I understand it, you already have a list of files separated by semicolons, and all you need is someway to run checkstyle on these. The and will work on such a list without having to convert it into a fileset. and the CheckStyle Ant task can work on individual files. -- David Weintraub qazw...@gmail.com

Re: Creating a fileset from a list of filenames

2009-11-03 Thread David Weintraub
ib or tasks to parse through this list and run checkstyle on each of these. -- David Weintraub qazw...@gmail.com

Re: Newbie Question: Installation Issues

2009-10-07 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: Fileset with "empty" patternset selects all files instead

2009-10-05 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: properties echo with absolute values

2009-10-02 Thread David Weintraub
with ${dirname}. -- David Weintraub da...@weintraub.name Sent from my iPhone while riding in my Ferrari. (Jealous?) On Oct 1, 2009, at 2:18 PM, Raja Nagendra Kumar > wrote: How to echo the absolution location of a property.. say should print the abosolute path of the key store file eve

Re: Noob question about "delete"

2009-10-01 Thread David Weintraub
buntu 9.04 but nothing seems to solve > it, > > Could you give me a hand?? Is there something I can do? > > Thanks a lot!!! > -- David Weintraub qazw...@gmail.com

Re: not to display message 'deleting...'

2009-09-30 Thread David Weintraub
, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > -- David Weintraub qazw...@gmail.com

Re: pass parameters from one file to another

2009-09-29 Thread David Weintraub
> # Edit this file before doing a release. > # When finished changes, simply save and close to resume build process > > > > > > > > > > > > Note that operation="=" is the default. > -- David Weintraub qazw...@gmail.com

Re: Proposal for improving Ant output (post-1.7)

2009-09-04 Thread David Weintraub
On Fri, Sep 4, 2009 at 3:35 PM, David Weintraub wrote: > Use the -default flag, and you can see it build the build dependency step. > DEBUG FLAG! USE THE DEBUG FLAG! It should have been -debug and not -default. I hate it when I do these stupid mistakes. -- David Weintraub qazw...@gmail.com

Re: Proposal for improving Ant output (post-1.7)

2009-09-04 Thread David Weintraub
gt; c (from d): > > d: > > > -- > > Francis Galiegue > ONE2TEAM > Ingénieur système > Mob : +33 (0) 683 877 875 > Tel : +33 (0) 178 945 552 > f...@one2team.com > 40 avenue Raymond Poincaré > 75116 Paris > > - > 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: Yet another basic question about Ant

2009-09-01 Thread David Weintraub
. > > How do I transfer this over to Ant? > > Thanks, > > Veena > -- David Weintraub qazw...@gmail.com

Re: Code too large

2009-09-01 Thread David Weintraub
SUCCESSFUL > > > > Regards, Gilbert > > > > - > 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: s unless/if: strangeness in default behaviour (imho) (ant 1.6.5)

2009-09-01 Thread David Weintraub
can use "*ant -projecthelp*" to see the various build options: $ ant -projecthelp Buildfile: build.xml Main Targets: build: Builds the system clean: Cleans out all built artifacts build-with-report: Builds system and produces coverage report Default target: build-with-report This way, you're actually documenting the way to build the project without producing the coverage report inside the build.xml file itself. -- David Weintraub qazw...@gmail.com

Re: s unless/if: strangeness in default behaviour (imho) (ant 1.6.5)

2009-08-31 Thread David Weintraub
gt; > -- > > Francis Galiegue > ONE2TEAM > Ingénieur système > Mob : +33 (0) 683 877 875 > Tel : +33 (0) 178 945 552 > f...@one2team.com > 40 avenue Raymond Poincaré > 75116 Paris > > - > 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: Selecting source files if they have been compiled

2009-08-20 Thread David Weintraub
with '.java' and filtering out inner classes. > > Does anyone know a better/more elegant approach? > > Stefan > -- > No reading beyond this point > > > - > To unsubscribe, e-mail: user-u

Re: exec on batch file causes build to hang

2009-08-17 Thread David Weintraub
ith the task. The task will terminate the task after a certain period of time. I don't know how well it works on Windows. -- David Weintraub qazw...@gmail.com

Re: Reg:Selection of files on the basis of timestamp

2009-08-17 Thread David Weintraub
via the "offset" attribute. You can do something like this: -- David Weintraub qazw...@gmail.com

Re: exec on batch file causes build to hang

2009-08-15 Thread David Weintraub
> > > > > > Does this sound like something is going on in the batch file? Perhaps it's > looping or something... > > Scott > > > [image: Inactive hide details for David Weintraub ]David > Weintraub > > > > > You need

exec on batch file causes build to hang

2009-08-14 Thread David Weintraub
so the build hangs and never > completes. > > I've used this exact syntax on other batch files running similar java > processes, and it works perfectly. I'm not sure what's causing this one to > hang, and I don't understand the spawn error messages. Any thoughts?

Re: javac can't find source files

2009-08-13 Thread David Weintraub
ged the target like you said. > > Output when running on the HFS+ partition: > > [echo] Listing of source files: > > After copying the project to the ext3 partition: > > [echo] Listing of source files: Hello.java > > > > > On Thu, 2009-08-13 at 13:38 -0400, Davi

Re: Target unless question

2009-08-13 Thread David Weintraub
nt -Ddont-compress deploy In this case, I do want to execute my "compile" and "package" targets before I do my deployment. However, I don't want the compress target to execute. If I pre-tested my property "dont-compress" and because of that, I decided not to ex

Re: javac can't find source files

2009-08-13 Thread David Weintraub
t; using: > > > > > > > destdir="classes"> > > > > > > -MB > > > > > ----- > 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: Another options

2009-08-11 Thread David Weintraub
> > > > depends="file.test" >if="file.found"> > > > > You execute target "actual.target". This runs the target "file.test". The > condition will set the property "file.found" if the file $

Re: Another options

2009-08-10 Thread David Weintraub
other resources except for the standard Ant resources. However, you must be using Ant 1.7 or higher. -- David Weintraub qazw...@gmail.com

Re: Urgent Help with Ant and Svn integration.

2009-08-06 Thread David Weintraub
Why are you using Ant for this task. Ant isn't a scripting language. It is a build system. Why not use svnsync? < http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt> -- David Weintraub qazw...@gmail.com

Re: Reversing a list

2009-08-05 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: Need Suggestion in build.properties

2009-08-05 Thread David Weintraub
> I am trying to use variable defined in build.properties file in Solaris > Machine but below script is not working > > > > Please suggest. > > Regards, > Rajesh > > > ____ > http://www.mindtree.com/email/disclaimer.html > -- David Weintraub qazw...@gmail.com

Re: compare files line by line

2009-07-30 Thread David Weintraub
regexp > > but I didn't find I way to compare line by line and I way to get the piece > of each line before the "=" signal. > the linecontainsregexp return all the line ..is there a "split method" in > Ant ? > Thanks all! > > -- > Júlio Cesar Bueno Cotta > Graduando em ciência da computação > Universidade Federal de Viçosa > -- David Weintraub qazw...@gmail.com

Re: help to find not replaced variables

2009-07-26 Thread David Weintraub
; > > > I had try to run the newst code ..and I just copy and paste your code and > > got this. > > BUILD FAILED > > bla bla bla loadresource doesn't support the nested "concat" element. > > > > :( > > help > > > > 2009/7/24

Re: Using ANT to validate a URL

2009-07-24 Thread David Weintraub
one http://does_not_exist.com doesn't set the property "second" (which is why it printed out ${second}). Seems to work fine. However, the format must be a vaild URL format which means you need to include the protocol and possibly the port. -- David Weintraub qazw...@gmail.com

Re: help to find not replaced variables

2009-07-24 Thread David Weintraub
t" command and I get "BUILD FAILED" :( > "The content of elements must consist of well-formed character data or > markup." > > I am really sorry..I guess I can doing something wrong too much noob. > Please, if someone can tell me what is wrong.. > Thank

Re: Using ANT to validate a URL

2009-07-24 Thread David Weintraub
lid? That will set the property url.valid if the URL ${test.url} is reachable. -- David Weintraub qazw...@gmail.com

Re: Warnings for javac on console

2009-07-24 Thread David Weintraub
tion.flag=true This way, I can turn features on and off in my build.xml file's task without having to modify the build.xml file itself. -- David Weintraub qazw...@gmail.com

Re: failonerror for target and depends

2009-07-23 Thread David Weintraub
's / task: http://ant-contrib.sourceforge.net/tasks/tasks/index.html . You could put an in the block, and if it can't find the target, go to the block where you'll simply echo that the task can't be found. From there, your program will continue

Re: failonerror for target and depends

2009-07-23 Thread David Weintraub
-- > View this message in context: > http://www.nabble.com/failonerror-for-target-and-depends-tp24629812p24629812.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: Problem while sending Mail through ANT

2009-07-23 Thread David Weintraub
ild system that handles this task for you. Take a look at Hudson: https://hudson.dev.java.net/ -- David Weintraub qazw...@gmail.com

Re: help to find not replaced variables

2009-07-22 Thread David Weintraub
looking more into filterchains and resources. They're a bit harder to understand than standard ant tasks like "copy", but they offer a lot of power. On Wed, Jul 22, 2009 at 3:40 PM, Scot P. Floess wrote: > > Ew - thats a really nice solution :) Now to remove my foot from

Re: help to find not replaced variables

2009-07-22 Thread David Weintraub
t > If I forget to add the variable in the dev.properties , that variable wont > be replaced. > I want to search all the varibles not replaced. > Thanks. > > 2009/7/22 David Weintraub > > > You can do this with the task via the : > > > > A good example is g

Re: task hanging

2009-07-22 Thread David Weintraub
lem with some build scripts I have written that have > tasks to set a property based on whether a particular mount > is available on the build box. It seems like if the mount is not > available for whatever reason, the build hangs at this point. Has anyone > seen this behavior bef

Re: exec unix script not working for me

2009-07-22 Thread David Weintraub
l/CoreTasks/fixcrlf.html>. This lets Ant clean up the shell scripts before trying to execute them or before packaging them up in a tarball. -- David Weintraub qazw...@gmail.com

Re: help to find not replaced variables

2009-07-22 Thread David Weintraub
> Is there some task to do that? > > I am sorry if I am not clear..my English is not pretty good. > Thanks all. > > -- > Júlio Cesar Bueno Cotta > Graduando em ciência da computação > Universidade Federal de Viçosa > -- David Weintraub qazw...@gmail.com

Re: exec unix script not working for me

2009-07-21 Thread David Weintraub
]; then >    echo "The MasterDeployScript.sql file path is required." >    exit 1 > fi > ORACLE_HOME=/u00/oracle/oracle/product/10.2.0/db_1 > export ORACLE_HOME > /u00/oracle/oracle/product/10.2.0/db_1/bin/sqlplus -L > username/passw...@sidname @${deployScriptPath}

Re: exec unix script not working for me

2009-07-21 Thread David Weintraub
eployScriptPath}" ]; then >    echo "The MasterDeployScript.sql file path is required." >    exit 1 > fi > ORACLE_HOME=/u00/oracle/oracle/product/10.2.0/db_1 > export ORACLE_HOME > /u00/oracle/oracle/product/10.2.0/db_1/bin/sqlplus -L > username/passw...@sidna

Re: exec unix script not working for me

2009-07-21 Thread David Weintraub
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >    at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > I'm having trouble getting a unix script to execute through my ant script. > What am I doing wrong? > > > > > - > 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: Use ANT to stop / start a java service wrapper (JBoss)

2009-07-21 Thread David Weintraub
learn Maven, so I, the build engineer am still doing the grunt work. If I can get Ivy to manage the jar dependencies, that would eliminate about 90% of the reason for Maven's existence. -- David Weintraub qazw...@gmail.com -

Re: Use ANT to stop / start a java service wrapper (JBoss)

2009-07-21 Thread David Weintraub
Java program, a developer gets stuck with the task and the blame when it doesn't 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: Use ANT to stop / start a java service wrapper (JBoss)

2009-07-21 Thread David Weintraub
p24576912.html > Sent from the Ant - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional comman

Re: how to do conditional processing in ant

2009-07-17 Thread David Weintraub
tasks/index.html>, you can simplify the logic quite a bit: -- David Weintraub qazw...@gmail.com - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

  1   2   3   4   >