Re: Windows Network Path

2011-11-03 Thread Michael Ludwig
from Ant … > I can use value="\\sharedir", but intuitively I thought to use the > "location" attribute... So does it work using value with the UNC path? If so why not just use that? -- Michael Ludwig - To uns

Re: Question re Javadoc task

2011-10-31 Thread Michael Ludwig
gSoup and then apply an XSLT. Probably not worth the effort, though … -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: trouble fetching Ant dependencies -- getting HTTP 403 forbidden

2011-10-20 Thread Michael Ludwig
Aleksey Tsalolikhin schrieb am 20.10.2011 um 08:58 (-0700): > Hi. I'm trying to install Ant (binary), the fetch step is not > working, I'm getting 403 Forbidden. > > I also got a warning that tools.jar was not found. Is this a critical > dependency? Only if you need something from tools.jar, lik

Re: ant -v

2011-04-19 Thread Michael Ludwig
ertinent to your question is like: Build sequence for target(s) `x' is [z, x] Complete build sequence is [z, x, y, ] So one line for the specific build sequence for your target, another one listing all targets. Ultimately, I don't know. I've never given this much thought. You ca

Re: ant -v

2011-04-19 Thread Michael Ludwig
:: type C:\Users\MiLu\antrc_pre.bat set ANT_ARGS=-logger mein.phantastischer.Logger :: type C:\Users\MiLu\antrc_post.bat set ANT_ARGS= Also, see this thread: AW: antrc & ant.conf files http://marc.info/?l=ant-user&m=12111791

Re: Weird observation with echoxml w.r.t. order of node text

2011-04-08 Thread Michael Ludwig
gt; uncertain, I don't know how to go about it. Use a proper technology, like XSLT, the bloody best tool for XML manipulation. (Unless you're dealing with absurdly large XML files, of course. But even then, there are XSLT solutions.) -- Michael Ludwig

Re: Invalid implementation Error

2011-03-13 Thread Michael Ludwig
Sam Wootton schrieb am 13.03.2011 um 12:53 (+): > > Michael , i think with opensuse its a bad idea to ignore the > repository / software management way of downloading and installing > software. the system can get in a real mess. its far better to let > it put the software where it wants to.

Re: Invalid implementation Error

2011-03-13 Thread Michael Ludwig
pack it under /opt/ant or /usr/local/ant, whichever you prefer. And don't bother with those errors, which may or may not result from bad packaging, or who knows what. -- Michael Ludwig - To unsubscribe, e-mail: user-unsubsc

Re: Accessing values from a property file

2011-02-22 Thread Michael Ludwig
Fawad Ali schrieb am 21.02.2011 um 15:29 (+0500): >Is there anyway of accessing values from a property file so that I > may take out all the variables to a saparate file. Please check out the and tasks, notably the @file and @append attributes. Might be what you're looking for.

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

2011-01-28 Thread Michael Ludwig
Michael Ludwig schrieb am 20.01.2011 um 02:30 (+0100): > What is special about JavaMail, JAF (Activation) and JDBC drivers that > they cannot be loaded by any other classloader? Just linking this to a thread I started on Tomcat-User (which did not, however, clarify the issue for me): ma

Re: Output of perl exec behaving oddly

2011-01-24 Thread Michael Ludwig
Laurence Mills-Gahl schrieb am 24.01.2011 um 00:56 (-0500): > On 1/23/11 10:12 PM, Michael Ludwig wrote: > > Laurence Mills-Gahl schrieb am 23.01.2011 um 21:27 (-0500): > >> > >> I have a list of centerid's and a "foreach" loop > > Red flag goes up …

Re: Output of perl exec behaving oddly

2011-01-23 Thread Michael Ludwig
is available here Take a look at the task, also occasionally useful to produce diagnostic output. -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

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

2011-01-19 Thread Michael Ludwig
Michael Ludwig schrieb am 19.01.2011 um 13:51 (+0100): > Patrick Martin schrieb am 19.01.2011 um 10:31 (+0100): > > D:\tmp\build.xml:7: taskdef A class needed by class > > org.apache.tools.ant.taskdefs.email.MimeMailer cannot be found: > > javax/mail/MessagingException >

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

2011-01-19 Thread Michael Ludwig
il, JAF (Activation) and JDBC drivers that they cannot be loaded by any other classloader? -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Terminate an Ant target

2011-01-19 Thread Michael Ludwig
information. -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Execution classpath question for taskdef

2011-01-19 Thread Michael Ludwig
today where the same issue arose: Mail task with mail.jar & activation.jar out of lib folder r L 19.01.11 10:31+0100 Patrick Martin57 Mail task […] L 19.01.11 11:19+0100 Patrick Martin87 ├─> F 19.01.11 13:51+0100 Michael Lud

Re: java script error in imported ant file

2011-01-19 Thread Michael Ludwig
code which says " Bproject.setProperty("newtoken", result);" , > Bproject is the name of the project in B.xml. There is no need to hardcode the name. You can refer to the currently running project by simply saying "project". :-) project.log("toll!"); pro

Re: Terminate an Ant target

2011-01-19 Thread Michael Ludwig
Jan C. schrieb am 19.01.2011 um 14:00 (+0100): > what I meant is that I don't start the server from my java class so I > can't call > > embedded.destroy(); Which is why I tried to refer you to the

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

2011-01-19 Thread Michael Ludwig
he.tools.ant.Main.startAnt(Main.java:218) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) It seems you have to use the main classloader, not a self-defined one. But I might be wrong. And even if not, I don&

Re: Terminate an Ant target

2011-01-19 Thread Michael Ludwig
Jan C. schrieb am 19.01.2011 um 11:26 (+0100): > I'm not starting the SimpleHTTPServer programmatically so I > don't have any reference to the instance. You don't have a reference, but you do start the server programmatically. ;-) > >> > >> > >>     > >>       > >>         >> classname="org.a

Re: Terminate an Ant target

2011-01-19 Thread Michael Ludwig
Jan C. schrieb am 19.01.2011 um 10:17 (+0100): > My JUnit test need a http server so I also start one in my test: > > > > > > classname="org.apache.axis2.transport.http.SimpleHTTPServer" > > ... > > > > ... > > > > > > The problem I

Re: Problems while migrating from ant 1.7.1 to ant 1.8.2

2011-01-03 Thread Michael Ludwig
Check that any custom tasks/types have been declared. > Action: Check that any / declarations have taken place. Please code up a *minimal* example that reproduces the error and post it here. Also, post the contents of the following e

Re: Question with error: Unable to locate tools.jar

2010-12-30 Thread Michael Ludwig
At the command prompt, enter: set java Is JAVA_HOME set? If not, set it in your desktop using sysdm.cpl (enter that in the little window that opens on hitting Windows-R), and be sure to set it to: C:\Program Files (x86)\Java\jdk1.6.0_21 Then, try again. -- Michael Ludwig

Re: ant, xsl and variables

2010-12-21 Thread Michael Ludwig
Jo Support schrieb am 21.12.2010 um 11:43 (+0100): > > > $newFrwVersion > > As you can see it thinks that "$newFrwVersion" is the value to be > rendered inside the result file. > Where am I doing wrong? In not looking into the most basic kind of XS

Re: ant, xsl and variables

2010-12-17 Thread Michael Ludwig
Scot P. Floess schrieb am 17.12.2010 um 08:05 (-0500): > Honestly, its been a while since I passed in params from an Ant > script...one of the two should work... At least one of them does work: -- Michael

Re: Running Ant target from a jar

2010-12-01 Thread Michael Ludwig
eboy.test schrieb am 01.12.2010 um 01:50 (-0800): > I want something like > > e.g. ant -jar test.jar rundemo > > here rundemo is the ant target, which invokes a class from test > package Have you tried running ant -h ? It would point you to -lib.

Re: Executing javascript ant task with jdk 1.6

2010-11-17 Thread Michael Ludwig
Hi Mangesh, Mangesh Moghe schrieb am 17.11.2010 um 15:17 (+0530): > Finally able to solve the problem. Yes, ant 1.6.5 can not work with > JDK 1.6 as far as javascript ant task is concerned. This is because > ant 1.6.5 supports

Re: svnant - deploying from Subversion

2010-11-04 Thread Michael Ludwig
files your property file templates = our script config templates your property files = our script config -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-22 Thread Michael Ludwig
f you specify --cut-dirs=12 but the path is only two levels > deep. It'll flatten the structure, like melting butter in the pan. > The mapper will currently behave in a not-my-business way like > the regexp mappe

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Michael Ludwig
stuff in Ant, I feel that I'm missing some easy way to solve this. -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: simplify copy with regexpmapper (mapper/regexp)

2010-09-17 Thread Michael Ludwig
he case in the problem Michael is > trying to solve. Well, these aren't Java files, but the requirement is the same. I may not have specified it clearly enough, but what I want is what to preserve the structure below the directories to copy, which is the way the following UNIX utilities do

Re: Trouble with and

2010-09-10 Thread Michael Ludwig
ol. I copied this, and produced another (otherwise pointless) sample for illustrative and archival purposes. ${firefox.default.profile.dir} -- Michael Ludwig - To unsubscribe, e-ma

Re: and - interchangeable?

2010-08-23 Thread Michael Ludwig
Stefan Bodewig schrieb am 23.08.2010 um 06:05 (+0200): > On 2010-08-23, Michael Ludwig wrote: > > > I'm wondering what's the difference between and . > > Why are there these two construct? Aren't they functionally > > identical? > > Ant contains a t

and - interchangeable?

2010-08-22 Thread Michael Ludwig
classpath, @sourcepath, @bootclasspath and @extdirs, all types? http://ant.apache.org/manual/Tasks/javac.html So are and interchangeable? -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org F

Re: junit tests running slower in 1.8 than in 1.7

2010-08-08 Thread Michael Ludwig
cause! I might be wrong, but I think this kind of IO is simply referred to as "unbuffered IO", whereas "blocking", "non-blocking" and "asynchronous IO" would involve device readiness. -- Michael Ludwig -

Re: Remove duplicate JAR file names from an XML file

2010-07-31 Thread Michael Ludwig
> > > > > Same here, you can drop the and get the same result. > if you like perl, you may like (j)ruby or groovy > for scripting in ant > Sometimes it's easier to write a small script before > using too much clumsy xml or writing a new task. >

Re: Remove duplicate JAR file names from an XML file

2010-07-31 Thread Michael Ludwig
Gilbert Rebhan schrieb am 31.07.2010 um 00:47 (+0200): > Whenever some kind of xml processing occurs within your ant workflow > i recommend the use of the xmltask[1]. > From your first posting i assume you have some xml like : > > > > antlr-2.7.6.jar antlr-2.7.6.jar antlr-2.7.6.jar > aopallian

Re: Remove duplicate JAR file names from an XML file

2010-07-30 Thread Michael Ludwig
rint output, possibly sorted -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Bootstrap script, fetch prerequisites

2010-07-29 Thread Michael Ludwig
kind of dependencies for the actual > building of source code. Would you recommend it? Thanks for your input! -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Bootstrap script, fetch prerequisites

2010-07-29 Thread Michael Ludwig
ible, but I think it would require > changes in Ant to possibly restart a new VM using new JARs for > example, or at least rerun itself into a completely different class > loader (and a way to update JARs already in use on Windows). Didn't do > it myself. --DD If it turns out to be t

Re: Augment task and use cases

2010-07-01 Thread Michael Ludwig
Matt Benson schrieb am 01.07.2010 um 10:26 (-0500): > On Jul 1, 2010, at 9:52 AM, Michael Ludwig wrote: > >Wouldn't it be nicer to have , which is still young and > >flexible, have augment/@refid to refer to an existing reference, and > >augment/@id to present an

Augment task and use cases

2010-07-01 Thread Michael Ludwig
it can be referred to by other tasks? Or is there something obvious that I'm overlooking? -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Urgent Help: Strange Error During Build.

2010-07-01 Thread Michael Ludwig
ang.StackOverflowError Looks like a text replacement loop, which shouldn't be run. Look here: http://marc.info/?l=ant-dev&m=113864631015957 Upgrade Ant. -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apa

Re: Passing state accross task invocations

2010-06-29 Thread Michael Ludwig
ss gets > re-initialized on every invocation. Is there a way to make it not do > that? Don't get it. Please specify your requirement more exactly. -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org

Re: DirSet question

2010-06-29 Thread Michael Ludwig
ill tell you what will work and what will not. -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Copying a static list of files

2010-06-25 Thread Michael Ludwig
But this is starting to feel awkward ("von hinten durch die Brust ins Auge", don't know in English), and I'm sure there is an easier way to achieve what you want. -- Michael Ludwig - To unsubscr

Re: Copying a static list of files

2010-06-24 Thread Michael Ludwig
:\Program Files becomes > C:\Program Files I doubt the latter workaround is desirable, or even, for all practical purposes, feasable ;-) -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additiona

Re: Copying a static list of files

2010-06-24 Thread Michael Ludwig
t; program fubar was installed at C:\Program Files (C:\Program > > Files\fubar) which would map to C:\PROGRA~1\fubar -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Copying a static list of files

2010-06-24 Thread Michael Ludwig
[echo] G:\dev\Ant\dir with spaces\eins.txt [echo] G:\dev\Ant\dir with spaces\zwei.txt [echo] So it works using . [echo] G:\dev\Ant\dir with spaces\eins.txt [echo] G:\dev\Ant\dir with spaces\zwei.txt [echo] G:\dev\Ant\dir with spaces\d r e i.txt [echo] And it also

Re: Setting multiple outputproperties

2010-06-23 Thread Michael Ludwig
y, I think this is what this is all about. Can you modify step1prog to output relevant information in a structured manner, such as to a property file, or to XML? If not, you could try some regex hacking such as in this example: But does not appear to sup

Re: propertyregex question

2010-06-23 Thread Michael Ludwig
rst group *greedily* (terminus technicus) captures the entire string until the end of the line. You'd probably benefit from reading up on Java regular expression syntax. -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Need cross platform way of assigning users name to a property

2010-06-22 Thread Michael Ludwig
x27;s* System.getProperties() which is in the Ant box, and even comes out of it if asked to :-) -- Michael Ludwig pgpRu8gLWsQRS.pgp Description: PGP signature

Re: Need cross platform way of assigning users name to a property

2010-06-22 Thread Michael Ludwig
the > script? I'm probably missing something, but what's wrong with the following, which is provided by Ant out of the box: -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For addi

Re: Problem with version of Apache Ant 1.8.1

2010-06-15 Thread Michael Ludwig
che Ant version 1.8.0 compiled on April 20 2010 After upgrading to 1.8.1, you forgot to set ANT_HOME to the new value. It's still pointing to your 1.8.0 installation. -- Michael Ludwig - To unsubscribe, e-mail: user-unsubs

Re: Psexec and ant

2010-06-09 Thread Michael Ludwig
\,,,/ (o o) --oOOo-(_)-oOOo-- -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: subant task scans .svn folders

2010-06-09 Thread Michael Ludwig
7;t know. I wouldn't expect that to happen. Is this behaviour specific to Ant running the task? > I am using ant1.7.1 Maybe worth trying with 1.8.1. -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.

Re: Psexec and ant

2010-06-09 Thread Michael Ludwig
n't belong there. See Ant manual: "Concepts and Types" > "Targets and Extension-Points" -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Scp Task problem

2010-06-09 Thread Michael Ludwig
ot; > verbose="true"/> > The scp key auth is set up properly - I don't have any problems with > running ssh or scp from the commandline (I run them with the same user > I run ant) Are there any clues in the verbose SSH output? -- Michael Ludwig

Re: Invoke child build scripts from master build script

2010-06-08 Thread Michael Ludwig
Due to that > fact, relative paths such as tempDir="obj" are created at the wrong > location! Would rearranging the build files solve the problem? What about moving productA/build.xml two levels up to the directory containing products/

Re: [ANN] Ant Script Library 1.1.0 Released

2009-09-16 Thread Michael Ludwig
ependency on the lib directory for tasks that do not need it? -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: access cvs with ssh in windows

2009-09-08 Thread Michael Ludwig
l suport for ssh in ant runinnig in windows ? Install PuTTY, read the documentation, and set up plink to work with your your CVS client. http://www.chiark.greenend.org.uk/~sgtatham/putty/ http://hurring.com/scott/howto/cvs_ssh/ Mi

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

2009-09-03 Thread Michael Ludwig
Ernst de Haan schrieb: Michael Ludwig-4 wrote: That said, there is a potential for using less screen real estate. I would see that as an improvement. It may be a matter of taste. True, it is on one hand a matter of taste, but on the other hand it is related to how much data humans can

Re: SCP task succeeds on client, but no file created on remote site

2009-09-03 Thread Michael Ludwig
file does not appear on the server. Read the doc for the task, especially what property/@location evaluates to. Add these to check the values: If your local computer is Windows, this might not be adequate. Even if it is UNIX, it might not be adequate. -- Mich

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

2009-09-03 Thread Michael Ludwig
ld be nice. Progessbar on the console? - Michael Ludwig - org.apache.ant.user http://markmail.org/thread/gjazyu7gzwzcmhgh -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-ma

Re: Patch task

2009-08-08 Thread Michael Ludwig
ch for Windows and put it on the PATH. You can get one from either Cygwin or GnuWin32. http://gnuwin32.sourceforge.net/packages/patch.htm -- Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional co

Re: Version read and replace

2009-07-11 Thread Michael Ludwig
jhoomshar...@netscape.net schrieb am 10.07.2009 um 21:43:45 (-0400): > > I have pom.xml, below is snippet of my pom.xml file: You should learn to start a thread with a clean, new message instead of replying to an unrelated existing one and changing the subject line. Michael

Re: factoring out commonality in sequences of tasks

2009-06-22 Thread Michael Ludwig
rom its depends attribute, you might think that first target C, then B and then A is executed. Wrong! C depends on B, and B depends on A, so first A is executed, then B, then C, and finally D. http://ant.apache.o

Re: factoring out commonality in sequences of tasks

2009-06-22 Thread Michael Ludwig
d target/@depends work for you? You would then factor out your series of tasks to a different target. Isn't a target just a processing unit placed in the dependency graph? ... ... Michael Ludwig - To unsu

Re: about BOMs

2009-06-19 Thread Michael Ludwig
andle the (pointless) > BOM code correctly. That's also my experience. Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Progessbar on the console?

2009-06-18 Thread Michael Ludwig
e to accomodate this. > As you can see, my knowledge of the topic is quite limited, but > hopefully this might help a little nonetheless. --DD Less limited than mine - good input, thanks! Michael Ludwig - To unsubscribe, e-

Progessbar on the console?

2009-06-18 Thread Michael Ludwig
time around. Whenever the update makes a difference on the screen, the screen is also updated. Would that be very complicated to do in Ant? Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For ad

Re: about BOMs

2009-06-18 Thread Michael Ludwig
China Creatxr schrieb am 16.06.2009 um 14:27:37 (+): > Does anyone find the way to run the utf-8 formated SQL scripts which > with BOMs by Ant now? Thanks. The task has an @encoding attribute. Set sql/@encoding = 'UTF-8' and see if that helps, which it should do.

Re: Doing Ant builds

2009-06-18 Thread Michael Ludwig
Steve Loughran schrieb am 18.06.2009 um 16:54:11 (+0100): > Michael Ludwig wrote: > >Ant, however, goes one step further: It will remove a write-protected > >file, which will not work using Windows tools without force, and it > >will even recursively remove a write-protected

Re: Doing Ant builds

2009-06-16 Thread Michael Ludwig
Steve Loughran schrieb am 16.06.2009 um 16:47:55 (+0100): > Michael Ludwig wrote: > >Okay, so you were talking about Java limitations in general, not Java > >limitations within the context of an Ant extension? > > exactly. Thanks for clarifying. > >What you're

Re: Doing Ant builds

2009-06-15 Thread Michael Ludwig
Steve Loughran schrieb am 15.06.2009 um 12:40:59 (+0100): > Michael Ludwig wrote: > >Steve Loughran schrieb am 12.06.2009 um 11:49:48 (+0100): > > > >>we do strive to be more declarative than fully procedural languages, > >>we don't have loops and so l

Re: Doing Ant builds

2009-06-12 Thread Michael Ludwig
t;in Ant extensions (written in Java)". So what are these limits? Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-12 Thread Michael Ludwig
> as that may sound. Unifying the codebase in that way lets you do the > simple, such as display the dependencies in the application about box > to the complex such as easily toggle aspectj load time weaving. Okay :-) I'll try to keep this in mind - the need will certainly arise, it'

Re: Doing Ant builds

2009-06-12 Thread Michael Ludwig
itely slowed mind you, but just like Make it's not going away any > time soon. Gradual obsolescence is normal in this field after all :) Convinces me to make a greater in investment in learning Ant! Michael Ludwig - To

Re: Doing Ant builds

2009-06-12 Thread Michael Ludwig
oes syntax highlighting and automatic indentations > which greatly helps me create my build.xml file. Me too. Just discovered "dit" and "dat". See ":help it", ":h at", ":h tag-blocks". But you probably knew this. Michael Ludwig -

Re: Doing Ant builds

2009-06-12 Thread Michael Ludwig
ng wasn't that mainstream, you > sat in front of the IDE and debugged. Now you add tests and wait for > email from the CI tool. Thanks for these historical insights! > >(Still no Perl.) > > There is a bit of perl in An

Re: Doing Ant builds

2009-06-11 Thread Michael Ludwig
as there are Java implementations of these languages. (Still no Perl.) Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Michael Ludwig
like, say, Python or Perl; but painstakingly recreating the XML structure from the API is even harder for the eyeball. But of course, this usage may have its places and applications. Michael Ludwig - To unsubscribe, e-mail: user-uns

Re: Replacing build.xml with Build.java - Doing Ant builds directly from Java

2009-06-11 Thread Michael Ludwig
n't think it is). Wrapping your mind around the Ant way of doing things is probably the best thing you can do. Where it feels too awkward, use the extension interface to write an Antlet. Michael Ludwig - To unsubscribe

Re: mail task does not work under ant 1.7.+

2009-06-11 Thread Michael Ludwig
it might simply not have been kept in sync with the code. Attachments work as advertised, albeit with certain limitations. So I can't see a way to specify the MIME type for attachments, but then, well, who cares? Michael Ludwig --

Re: Delete file inside a warfile

2009-06-11 Thread Michael Ludwig
/deployment/jar/update.html For programmatic usage, I'd give the following classes a try, which should allow you to hook in a filter to achieve what you want: * java.util.zip.ZipInputStream * java.util.zip.ZipOutputStream Michael Ludwig

Re: Java in JDK but ANT can't find it!

2009-05-16 Thread Michael Ludwig
ith?) or, more likely, the shell script you're using to launch it. Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: API for setting a property reference?

2009-05-16 Thread Michael Ludwig
ntlib declaration) and Ant's being instructed where > to look for said definitions (the namespace or other declaration(s)) > in your buildfile. Thanks for this systematic explanation. Michael Ludwig - To unsubscribe, e

Re: Java in JDK but ANT can't find it!

2009-05-16 Thread Michael Ludwig
it in C:\Programme\Java\jre6\lib\tools.jar Apache Ant version 1.7.1 compiled on June 27 2008 Because that's a JRE. But if I use the JDK, no warning. C:\dev\Java :: C:\Programme\Java\jdk1.6.0_11\bin\java.exe -jar \jlib\ant-1.7.1\lib\ant-launcher.jar -version Apache Ant version 1.7.1 compiled on J

Re: API for setting a property reference?

2009-05-16 Thread Michael Ludwig
t;antlib:" namespace URI scheme laid out in the manual is similar to such auto-lookup, but requires additional configuration. I guess that's what you were pointing me to? Michael Ludwig - To unsubscribe, e-mail: user-un

Re: API for setting a property reference?

2009-05-14 Thread Michael Ludwig
his to run: It could also have been: Is there some auto-lookup feature for classes that attempts dynamic class loading for something like , i.e. element name corresponding to classname? Or did you just omit the for brevity? Michael Ludwig --

Re: Reset BuildNumber

2009-05-07 Thread Michael Ludwig
Francis Galiegue schrieb am 07.05.2009 um 23:03:44 (+0200): > Le Thursday 07 May 2009 22:41:18 Michael Ludwig, vous avez écrit : Thank you all for your quick response. > > * http://ant-contrib.sourceforge.net/ > > The download link points to sources for cpptasks.jar. On http://

Re: Reset BuildNumber

2009-05-07 Thread Michael Ludwig
ad link points to sources for cpptasks.jar. Maybe just temporary errors? If not, where can I get the sources for ant-contrib.jar? Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional command

Re: Pass multiple directories to -lib option

2009-04-23 Thread Michael Ludwig
; ant -f saxon.xml -lib C:\jlib\saxon9-ant.jar -lib C:\jlib\saxon9.jar Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Pass multiple directories to -lib option

2009-04-22 Thread Michael Ludwig
for bringing this gotcha to my attention. This, however, doesn't work: ant -f saxon.xml -lib C:\jlib\saxon9-ant.jar;C:\jlib\saxon9.jar Whereas this does: ant -f saxon.xml -lib C:\jlib\saxon9-ant.jar -lib C:\jlib\saxon9.jar Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Pass multiple directories to -lib option

2009-04-21 Thread Michael Ludwig
okens, two of which probably inexistent as directories. Nothing would work. Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Pass multiple directories to -lib option

2009-04-21 Thread Michael Ludwig
ml -lib c:\jlib\saxon9-ant.jar -lib C:\jlib\saxon9.jar Michael Ludwig - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Delete task eagerness on Windows

2009-04-20 Thread Michael Ludwig
S=-v call ant -v -f ant-delete-2.xml set test_dir=C:\temp\DeleteTest pushd %test_dir% attrib /s /d +R attrib /s /d popd call ant -v -f ant-delete-2.xml clean echo on dir /s /b %test_dir% @echo off echo Alles futsch ... endlocal So what Ant does seems to be a recursive and unconditional application of wha

Delete task eagerness on Windows

2009-04-19 Thread Michael Ludwig
Ant (version 1.7.1), or more precisely: Ant's Delete task merrily deletes write-protected files and directories on Windows XP that cannot be deleted using the DEL (without /f) and RD commands from the cmd.exe console. In cmd.exe, type: more > ant-delete.xml