cvs commit: ant/docs/manual ide.html
jhm 2005/06/04 00:19:35 Modified:docs/manual ide.html Log: Antidote has been retired. Revision ChangesPath 1.17 +0 -6 ant/docs/manual/ide.html Index: ide.html === RCS file: /home/cvs/ant/docs/manual/ide.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- ide.html 2 May 2005 15:23:14 - 1.16 +++ ide.html 4 Jun 2005 07:19:34 - 1.17 @@ -18,11 +18,6 @@ ul li -a href=Integration/Antidote.html - Antidote (in development) -/a - /li - li a href=http://antrunner.sourceforge.net/; AntRunner For JBuilder (unbundled) /a @@ -94,4 +89,3 @@ /body /html - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual using.html
jhm 2005/06/04 00:24:47 Modified:docs/manual using.html Log: Hint to ant.home property Revision ChangesPath 1.44 +8 -3 ant/docs/manual/using.html Index: using.html === RCS file: /home/cvs/ant/docs/manual/using.html,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- using.html31 May 2005 15:30:53 - 1.43 +++ using.html4 Jun 2005 07:24:47 - 1.44 @@ -115,9 +115,9 @@ the target will always be executed./p p -bImportant:/b the codeif/code and codeunless/code attributes only +bImportant:/b the codeif/code and codeunless/code attributes only enable or disable the target to which they are attached. They do not control -whether or not targets that a conditional target depends upon get executed. +whether or not targets that a conditional target depends upon get executed. In fact, they do not even get evaluated until the target is about to be executed, and all its predecessors have already run. @@ -278,6 +278,11 @@ ant.java.versionthe JVM version Ant detected; currently it can hold the values quot;1.2quot;, quot;1.3quot;, quot;1.4quot; and quot;1.5quot;. /pre +pThere is also another property, but this is set by the launcher script and therefore +maybe not set inside IDEs:/p +pre +ant.homehome directory of Ant +/pre a name=exampleh3Example Buildfile/h3/a pre @@ -591,4 +596,4 @@ Reserved./p /body -/html +/html \ No newline at end of file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual tutorial-HelloWorldWithAnt.html
jhm 2005/06/04 00:34:02 Modified:docs/manual tutorial-HelloWorldWithAnt.html Log: Create a link section so the tutorial is more printable. Revision ChangesPath 1.3 +13 -3 ant/docs/manual/tutorial-HelloWorldWithAnt.html Index: tutorial-HelloWorldWithAnt.html === RCS file: /home/cvs/ant/docs/manual/tutorial-HelloWorldWithAnt.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- tutorial-HelloWorldWithAnt.html 21 Mar 2005 18:14:21 - 1.2 +++ tutorial-HelloWorldWithAnt.html 4 Jun 2005 07:34:02 - 1.3 @@ -1,7 +1,7 @@ html head titleTutorial: Hello World with Ant/title - meta name=author content=Jan Mategrave;rne + meta name=author content=Jan Matèrne style type=text/css !-- .code { background: #EFEFEF; margin-top: } @@ -24,6 +24,7 @@ lia href=#four-stepsEnhance the build file/a/li lia href=#enhanceEnhance the build file/a/li lia href=#ext-libsUsing external libraries/a/li +lia href=#resourcesResources/a/li /ul/p @@ -189,12 +190,12 @@ liit's from Apache :-)/li /ul/p pWe store our external libraries in a new directory ttlib/tt. Log4J can be -a href=http://www.apache.org/dist/logging/log4j/1.2.9/logging-log4j-1.2.9.zip;downloaded/a from Logging's Homepage. +a href=http://www.apache.org/dist/logging/log4j/1.2.9/logging-log4j-1.2.9.zip;downloaded [1]/a from Logging's Homepage. Create the ttlib/tt directory and extract the log4j-1.2.9.jar into that lib-directory. After that we have to modify our java source to use that library and our buildfile so that this library could be accessed during compilation and run. /p pWorking with Log4J is documented inside its manual. Here we use the iMyApp/i-example from the -a href=http://logging.apache.org/log4j/docs/manual.html;Short Manual/a. First we have to modify the java source to +a href=http://logging.apache.org/log4j/docs/manual.html;Short Manual [2]/a. First we have to modify the java source to use the logging framework:/p pre class=code @@ -307,6 +308,15 @@ pThis copies all resources (as long as they haven't the suffix .java) to the build directory, so we could start the application from that directory and these files will included into the jar./p + +a name=resources/a +h2Resources/h2 +pre +[1] a href=http://www.apache.org/dist/logging/log4j/1.2.9/logging-log4j-1.2.9.zip;http://www.apache.org/dist/logging/log4j/1.2.9/logging-log4j-1.2.9.zip/a +[2] a href=http://logging.apache.org/log4j/docs/manual.html;http://logging.apache.org/log4j/docs/manual.html/a +/pre + + hr p align=centerCopyright copy; 2005 The Apache Software Foundation. All rights Reserved./p - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
about ANT-XDOCS
Hi, I wonder if you could send me some information (or places where i can get it from) about this project: Suject ID: ant-xdocs ASF Project: Apache Ant (http://wiki.apache.org/general/SummerOfCode2005) Thanks in advance. = - Lucas luky Arruda - A vaca mansa dá leite, a braba dá se quiser; Valei-me nossa senhora, santo antÔOIN de NazarÈ! = - Lucas luky Arruda - A vaca mansa dá leite, a braba dá se quiser; Valei-me nossa senhora, santo antÔOIN de NazarÈ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Google Summer of Code, Apache ANT project ideas?
On Jun 3, 2005, at 3:24 PM, Daniels, Doug wrote: Yeah I was way off on Velocity I thought it was part of XDocs but really its that servlet engine. You weren't really far off. There is DVSL transformations in the current mix which is Velocity. Velocity isn't a bad choice necessarily. I was merely opening the door for discussion on how to craft this thing - no need to stick with the legacy way just because it's already partly there. A new and improved process may save time and be cleaner in the long run. What's wrong with XDocs it seems like a good way to parse through the Ant Tasks meta-data javadoc comments and extract the information we need for documentation. Nothing is wrong with it per se, but it's a pretty heavy process. Maybe using one of the faster/lighter/simpler Java parsers out there would be better. Requiring XDoclet for 3rd party tasks to generate documentation may be a bit heavy handed and prohibitive. What other types of capability were you looking for? Being able to fold examples into the documentation is a critical part of it, and being able to generate documentation in HTML, PDF, and other formats is quite desirable. The project deliverable would most likely be an Ant Task that could perform this document auto-generation right? I think so. Where can I find the previous XDoc stuff that was developed? It's in Ant's CVS under proposals/xdocs. Incidentally this is what generated Appendix E of Java Development with Ant (and could have been used to write the first edition of O'Reilly's Ant: The Definitive Guide :). Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: about ANT-XDOCS
On Jun 3, 2005, at 8:43 PM, Lucas Arruda wrote: Hi, I wonder if you could send me some information (or places where i can get it from) about this project: Your first mentored assignment is to find the archives of this e-mail list and look at the recent messages regarding this topic :) Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reusable ant tasks, a Java Command Line Interface library?
Hi all, Something is needed to ease the running of command line programs in Java. Several issues appear when using the official SDK Runtime#exec() and Process: multiple exec() method to chose from, quotes handling, lack of shell, no timeout management, input/output management Ant first solved the problem by creating a Commandline class some years ago and a couple of helper classes to provide more functionality on top of Runtime.exec(). These classes have been copied and sligthty forked in several projects including plexus, maven2, cruisecontrol. To me that clearly denotates its usefulness. So why not putting these classes available in a standalone library? Note: this is similar to the general idea Vincent Massol had ([1]) on reusable ant tasks, with a focus on command line and process execution. As it is not practical to discuss this accross several mailing lists, I wrote a proposal on my blog (http://www.coffeebreaks.org/blogs/?p=8). If you want to help, please send me a mail or better write a comment on the blog entry. If there are enough interest, I will create a dedicated list. Cheers, Jerome [1] http://blogs.codehaus.org/people/vmassol/archives/think_tank.html#001036_id_love_reusable_ant_tasks
FTP Connection as Referenced Object
Having spent a week thinking over the issues raised in this discussion: http://issues.apache.org/bugzilla/show_bug.cgi?id=31744 I have come to the conclusion that the best place to start would be creating a connection as a referenceable object. I'm trying to find a model to look at so that I can better understand the internal workings of this structure. Looking over the classes in the o.a.t.a.types package tree I don't see any of them that stands out as being in any way a close analog of the FTP connection in terms of functionality or lifecycle. Does anybody have a suggestion for me here? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FTP Connection as Referenced Object
Steve et al You may want to take a look at SSH FTP RFCs most notably http://lftp.yar.ru/draft-ietf-secsh-filexfer-00.txt In section 6.1 This spec supports there are no ordering restrictions on the server for processing requests from two different file transfer connections. The server may interleave and parallelize them at will. asuming of course we can get a SSH session up and running thru the JVM Advice /Ideas ? Martin- - Original Message - From: Steve Cohen [EMAIL PROTECTED] To: Ant Developers List dev@ant.apache.org Sent: Saturday, June 04, 2005 3:27 PM Subject: FTP Connection as Referenced Object Having spent a week thinking over the issues raised in this discussion: http://issues.apache.org/bugzilla/show_bug.cgi?id=31744 I have come to the conclusion that the best place to start would be creating a connection as a referenceable object. I'm trying to find a model to look at so that I can better understand the internal workings of this structure. Looking over the classes in the o.a.t.a.types package tree I don't see any of them that stands out as being in any way a close analog of the FTP connection in terms of functionality or lifecycle. Does anybody have a suggestion for me here? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]