[jira] Created: (IVY-1017) add refresh parameter to post resolve tasks

2009-01-26 Thread Xavier Hanin (JIRA)
add refresh parameter to post resolve tasks
---

 Key: IVY-1017
 URL: https://issues.apache.org/jira/browse/IVY-1017
 Project: Ivy
  Issue Type: Improvement
  Components: Ant
Affects Versions: 2.0
Reporter: Xavier Hanin
Assignee: Xavier Hanin


The refresh parameter available on the resolve task is not available on post 
resolve tasks. Therefore if one wants to set refresh there is no other option 
than calling resolve explicitly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



svn commit: r737669 - in /ant/ivy/core/trunk: CHANGES.txt doc/use/postresolvetask.html src/java/org/apache/ivy/ant/IvyPostResolveTask.java

2009-01-26 Thread xavier
Author: xavier
Date: Mon Jan 26 10:45:12 2009
New Revision: 737669

URL: http://svn.apache.org/viewvc?rev=737669view=rev
Log:
IMPROVEMENT: add refresh parameter to post resolve tasks (IVY-1017)

Modified:
ant/ivy/core/trunk/CHANGES.txt
ant/ivy/core/trunk/doc/use/postresolvetask.html
ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java

Modified: ant/ivy/core/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=737669r1=737668r2=737669view=diff
==
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Mon Jan 26 10:45:12 2009
@@ -85,6 +85,7 @@

trunk
 =
+- IMPROVEMENT: add refresh parameter to post resolve tasks (IVY-1017)
 - IMPROVEMENT: Remove excessive HEAD requests for URL repository (IVY-996)
 - IMPROVEMENT: add -version option on command line (IVY-1014)
 - IMPROVEMENT: support resolve refresh in command line (IVY-1013)

Modified: ant/ivy/core/trunk/doc/use/postresolvetask.html
URL: 
http://svn.apache.org/viewvc/ant/ivy/core/trunk/doc/use/postresolvetask.html?rev=737669r1=737668r2=737669view=diff
==
--- ant/ivy/core/trunk/doc/use/postresolvetask.html (original)
+++ ant/ivy/core/trunk/doc/use/postresolvetask.html Mon Jan 26 10:45:12 2009
@@ -66,6 +66,7 @@
 trtdtransitive/tdtdtrue to resolve dependencies transitively, 
false otherwise span class=sincesince 1.4/span/tdtdNo. Defaults to 
true/td/tr
 trtdhaltonfailure/tdtdtrue to halt the build on ivy failure, false 
to continue/tdtdNo. Defaults to true/td/tr
 trtdvalidate/tdtdtrue to force ivy files validation against 
ivy.xsd, false to force no validation/tdtdNo. Defaults to default ivy value 
(as configured in configuration file)/td/tr
+trtdrefresh/tdtdtrue to force Ivy to resolve dynamic revision in 
this resolve process, false to use cached resolved revision span 
class=sincesince 2.1/span/tdtdNo. defaults to false/td/tr
 trtdfile/tdtdthe file to resolve if a resolve is necessary span 
class=sincesince 2.0/span/tdtdNo. Defaults to the previous resolved 
Ivy file or to ${ivy.dep.file}/td/tr
trtdsettingsRef/tdtdA reference to the ivy settings that must 
be used by this task span class=since(since 2.0)/span/tdtdNo, 
'ivy.instance' is taken by default./td/tr
trtdresolveId/tdtdThe id which was used for a previous resolve, 
or the resolveId if a new resolve is performed span class=since(since 
2.0)/span/tdtdNo, defaults to '[org]-[module]'./td/tr

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java
URL: 
http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java?rev=737669r1=737668r2=737669view=diff
==
--- ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java 
(original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java Mon 
Jan 26 10:45:12 2009
@@ -66,6 +66,8 @@
 
 private Boolean keep = null;
 
+private boolean refresh = false;
+
 private String log = ResolveOptions.LOG_DEFAULT;
 
 public boolean isUseOrigin() {
@@ -288,6 +290,7 @@
 resolve.setUseOrigin(useOrigin);
 resolve.setValidate(isValidate());
 resolve.setKeep(isKeep());
+resolve.setRefresh(isRefresh());
 resolve.setLog(getLog());
 resolve.setSettingsRef(getSettingsRef());
 return resolve;
@@ -404,4 +407,12 @@
 return this.keep == null ? !isInline() : this.keep.booleanValue();
 }
 
+public void setRefresh(boolean refresh) {
+this.refresh = refresh;
+}
+
+public boolean isRefresh() {
+return refresh;
+}
+
 }




[jira] Commented: (IVY-1011) Enhance download options

2009-01-26 Thread Xavier Hanin (JIRA)

[ 
https://issues.apache.org/jira/browse/IVY-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12667214#action_12667214
 ] 

Xavier Hanin commented on IVY-1011:
---

a vertical progress bar sounds like a nice idea, I really like it!

 Enhance download options
 

 Key: IVY-1011
 URL: https://issues.apache.org/jira/browse/IVY-1011
 Project: Ivy
  Issue Type: New Feature
  Components: Core
Reporter: Jan Matèrne
Priority: Minor

 Enhance the downloading of artefacts.
 - parallel downloads
 - resuming a download
 - partial downloads
 - using a downloadmanager (for getting the first three topics)
 (Without knowing the internals) I think of something like
 public interface Downloader {
 /**
  * @param source From where to download
  * @param target where to store the artefact
  * @param progressReporter something that reports the progress (the 
 [...]ok  at the moment)
 */
 download(URI source, File target, ?? progressReporter);
 }
 Implementations:
 - SerialDownloader :  the existing downloader
 - ParallelDownloader : starts multiple downloads in parallel
 - SunDownloader : uses Suns Downloadmanager [1] for doing the job
 - ??Downloader : other (free available Java based) download manager
 [1] http://www.sun.com/download/sdm/download.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (IVY-1017) add refresh parameter to post resolve tasks

2009-01-26 Thread Xavier Hanin (JIRA)

 [ 
https://issues.apache.org/jira/browse/IVY-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xavier Hanin resolved IVY-1017.
---

   Resolution: Fixed
Fix Version/s: trunk

I've implemented this on trunk. In the documentation I've put since 2.1 but I 
don't know if this will go in 2.1 only, or 2.0.1 too. Documentation will need 
an update if we decide to merge this to 2.0.x branch.

 add refresh parameter to post resolve tasks
 ---

 Key: IVY-1017
 URL: https://issues.apache.org/jira/browse/IVY-1017
 Project: Ivy
  Issue Type: Improvement
  Components: Ant
Affects Versions: 2.0
Reporter: Xavier Hanin
Assignee: Xavier Hanin
 Fix For: trunk


 The refresh parameter available on the resolve task is not available on post 
 resolve tasks. Therefore if one wants to set refresh there is no other option 
 than calling resolve explicitly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (IVY-1016) Patch to add an ivy:eclipse ant task that generates Eclipse .classpath files

2009-01-26 Thread Xavier Hanin (JIRA)

[ 
https://issues.apache.org/jira/browse/IVY-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12667216#action_12667216
 ] 

Xavier Hanin commented on IVY-1016:
---

Thanks for this contribution Jing! But does it really need to be integrated in 
ivy core? Maybe this could be provided as a separate plugin?

 Patch to add an ivy:eclipse ant task that generates Eclipse .classpath files
 

 Key: IVY-1016
 URL: https://issues.apache.org/jira/browse/IVY-1016
 Project: Ivy
  Issue Type: New Feature
  Components: Ant
Affects Versions: trunk
Reporter: Jing Xue
 Attachments: EclipseClasspath.java


 I put together a post-resolve ivy:eclipse task that updates the Eclipse 
 .classpath file according to the result of ivy:resolve.  It also will 
 discover any source jars if they are part of the resolve/download, and 
 automatically attach them to the corresponding entries.
 For example,  I have this entry in ivy.xml:
 {code:xml|title=ivy.xml}
 dependency org=commons-collections name=commons-collections rev=3.2.1 
 conf=compile;references
 artifact name=commons-collections type=sources ext=jar 
 m:classifier=sources conf=references /
 /dependency
 {code}
 In build.xml, I have:
 {code:xml|title=build.xml}
 target name=eclipse description=Updates eclipse classpath.
 ivy:configure settingsId=ivy.eclipse override=true /
 ivy:resolve settingsRef=ivy.eclipse conf=compile, references /
 ivy:eclipse settingsRef=ivy.eclipse conf=compile, references /
 /target
 {code}
 And running 'ant eclipse' will update my .classpath with the cache path to 
 the commons-collections jar, with its sources jar attached.  The classpath 
 entry will be annotated with an ivygen=true. Next time I run 'ant eclipse', 
 this entry will be recognized and replaced with whatever updated paths.
 This is only the first draft. I know there is IvyDE, but I feel that this 
 could be a good starting point for an alternative that is more Ant-oriented.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



svn commit: r737688 - /ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java

2009-01-26 Thread bodewig
Author: bodewig
Date: Mon Jan 26 13:16:12 2009
New Revision: 737688

URL: http://svn.apache.org/viewvc?rev=737688view=rev
Log:
English spelling of actif

Modified:
ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java

Modified: ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java
URL: 
http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java?rev=737688r1=737687r2=737688view=diff
==
--- ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java 
(original)
+++ ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AntUnit.java Mon 
Jan 26 13:16:12 2009
@@ -227,8 +227,8 @@
 }
 
 /** Indicates if there is a project currently under test. */
-public boolean isActif() {
-return scriptFile!=null;
+public boolean isActive() {
+return scriptFile != null;
 }
 
 /**
@@ -237,8 +237,10 @@
  * @pre isActif()
  */
 public Project get() {
-if (!isActif()) throw new AssertionError(scriptFile==null);
-if (project==null) {
+if (!isActive()) {
+throw new AssertionError(scriptFile==null);
+}
+if (project == null) {
 project = createProjectForFile(scriptFile);
 projectIsDirty = false;
 }
@@ -247,11 +249,13 @@
 
 /**
  * Get a project that has not yet been used in order to execute a 
target on it.
- * @pre isActif()
+ * @pre isActive()
  */
 public Project getRenewed() {
-if (!isActif()) throw new AssertionError(scriptFile==null);
-if (project==null || projectIsDirty) {
+if (!isActive()) {
+throw new AssertionError(scriptFile==null);
+}
+if (project == null || projectIsDirty) {
 project = createProjectForFile(scriptFile);
 }
 //we already set isDirty to true in order to make sure we didn't 
reuse
@@ -438,7 +442,7 @@
  * @param outputToHandle the output to handle.
  */
 public void handleOutput(String outputToHandle) {
-if (currentProject.isActif()) {
+if (currentProject.isActive()) {
 currentProject.get().demuxOutput(outputToHandle, false);
 } else {
 super.handleOutput(outputToHandle);
@@ -453,7 +457,7 @@
  */
 public int handleInput(byte[] buffer, int offset, int length)
 throws IOException {
-if (currentProject.isActif()) {
+if (currentProject.isActive()) {
 return currentProject.get().demuxInput(buffer, offset, length);
 }
 return super.handleInput(buffer, offset, length);
@@ -464,7 +468,7 @@
  * @param toFlush the output String to flush.
  */
 public void handleFlush(String toFlush) {
-if (currentProject.isActif()) {
+if (currentProject.isActive()) {
 currentProject.get().demuxFlush(toFlush, false);
 } else {
 super.handleFlush(toFlush);
@@ -476,7 +480,7 @@
  * @param errorOutputToHandle the error output to handle.
  */
 public void handleErrorOutput(String errorOutputToHandle) {
-if (currentProject.isActif()) {
+if (currentProject.isActive()) {
 currentProject.get().demuxOutput(errorOutputToHandle, true);
 } else {
 super.handleErrorOutput(errorOutputToHandle);
@@ -488,7 +492,7 @@
  * @param errorOutputToFlush the error output to flush.
  */
 public void handleErrorFlush(String errorOutputToFlush) {
-if (currentProject.isActif()) {
+if (currentProject.isActive()) {
 currentProject.get().demuxFlush(errorOutputToFlush, true);
 } else {
 super.handleErrorFlush(errorOutputToFlush);




[g...@vmgump]: Project test-ant (in module ant) failed

2009-01-26 Thread Gump Integration Build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project test-ant has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 31 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- test-ant :  Java based build tool


Full details are available at:
http://vmgump.apache.org/gump/public/ant/test-ant/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Optional dependency jakarta-tomcat-4.0 prerequisite failed with reason 
build failed
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/ant/test-ant/gump_work/build_ant_test-ant.html
Work Name: build_ant_test-ant (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 mins 46 secs
Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true 
-Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dtest.haltonfailure=false 
-Dant.home=/srv/gump/public/workspace/ant/dist run-tests 
[Working Directory: /srv/gump/public/workspace/ant]
CLASSPATH: 
/usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/ant/build/testcases:/srv/gump/public/workspace/ant/src/tests/junit:/srv/gump/public/workspace/ant/src/etc/testcases:/srv/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/out:/srv/gump/public/workspace/ant/build/lib/ant-stylebook.jar:/srv/gump/public/workspace/ant/build/lib/ant-swing.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/build/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-regexp.jar:/srv/gump/public/workspace/ant/build/lib/ant-commons-net.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-log4j.jar:/srv/gump/public/workspace/ant/build/lib/ant-commons-logging.jar:/srv/gump/public/workspace/ant/build/lib/ant-jai.jar:/srv/gump/public/workspace/ant/build/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/build/lib/ant-launcher.jar:/srv/gump/publ
 
ic/workspace/ant/build/lib/ant-jdepend.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-bsf.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-oro.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-bcel.jar:/srv/gump/public/workspace/ant/build/lib/ant-trax.jar:/srv/gump/public/workspace/ant/build/lib/ant-antlr.jar:/srv/gump/public/workspace/ant/build/lib/ant-junit.jar:/srv/gump/public/workspace/ant/build/lib/ant-jsch.jar:/srv/gump/public/workspace/ant/build/lib/ant-javamail.jar:/srv/gump/public/workspace/ant/build/lib/ant.jar:/srv/gump/packages/antlr-2.7.6/antlr.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-26012009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-26012009.jar:/srv/gump/public/workspace/apache-commons/net/dist/commons-net-26012009.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/public/workspace/jakarta-bcel/target/bcel-5.3-SNAPSHOT.jar:/srv/gump/public/workspace/jakarta
 
-bsf/build/lib/bsf.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-26012009.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-26012009.jar:/srv/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-26012009.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jdepend-2.6/lib/jdepend.jar:/srv/gump/packages/jsch/jsch-0.1.38.jar:/srv/gump/public/workspace/xml-stylebook/bin/stylebook-1.0-b3_xalan-2.jar:/srv/gump/public/workspace/ant-antlibs/antunit/build/ant-antunit-26012009.jar:/srv/gump/public/workspace/junit/dist/junit-26012009.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:jasper-compiler-gump-25012009.jar:jasper-runtime-gump-25012009.jar:/srv/gump/public/workspace/xml-commons/java/build/which.jar:/srv/gump/public/workspace/rhino/build/rhino_26012009/js.jar:/srv/gump/packages/bsh-2.0b4/bsh-commands
 

[g...@vmgump]: Project test-ant-no-xerces (in module ant) failed

2009-01-26 Thread Gump Integration Build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project test-ant-no-xerces has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 175 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- test-ant-no-xerces :  Java based build tool


Full details are available at:
http://vmgump.apache.org/gump/public/ant/test-ant-no-xerces/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Optional dependency jakarta-tomcat-4.0 prerequisite failed with reason 
build failed
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/ant/test-ant-no-xerces/gump_work/build_ant_test-ant-no-xerces.html
Work Name: build_ant_test-ant-no-xerces (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 mins 3 secs
Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true 
org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dtest.haltonfailure=false 
-Dant.home=/srv/gump/public/workspace/ant/dist run-tests 
[Working Directory: /srv/gump/public/workspace/ant]
CLASSPATH: 
/usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/ant/build/testcases:/srv/gump/public/workspace/ant/src/tests/junit:/srv/gump/public/workspace/ant/src/etc/testcases:/srv/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/out:/srv/gump/public/workspace/ant/build/lib/ant-stylebook.jar:/srv/gump/public/workspace/ant/build/lib/ant-swing.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/build/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-regexp.jar:/srv/gump/public/workspace/ant/build/lib/ant-commons-net.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-log4j.jar:/srv/gump/public/workspace/ant/build/lib/ant-commons-logging.jar:/srv/gump/public/workspace/ant/build/lib/ant-jai.jar:/srv/gump/public/workspace/ant/build/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/build/lib/ant-launcher.jar:/srv/gump/publ
 
ic/workspace/ant/build/lib/ant-jdepend.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-bsf.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-oro.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-bcel.jar:/srv/gump/public/workspace/ant/build/lib/ant-trax.jar:/srv/gump/public/workspace/ant/build/lib/ant-antlr.jar:/srv/gump/public/workspace/ant/build/lib/ant-junit.jar:/srv/gump/public/workspace/ant/build/lib/ant-jsch.jar:/srv/gump/public/workspace/ant/build/lib/ant-javamail.jar:/srv/gump/public/workspace/ant/build/lib/ant.jar:/srv/gump/packages/antlr-2.7.6/antlr.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-26012009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-26012009.jar:/srv/gump/public/workspace/apache-commons/net/dist/commons-net-26012009.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/public/workspace/jakarta-bcel/target/bcel-5.3-SNAPSHOT.jar:/srv/gump/public/workspace/jakarta
 
-bsf/build/lib/bsf.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-26012009.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-26012009.jar:/srv/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-26012009.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jdepend-2.6/lib/jdepend.jar:/srv/gump/packages/jsch/jsch-0.1.38.jar:/srv/gump/public/workspace/xml-stylebook/bin/stylebook-1.0-b3_xalan-2.jar:/srv/gump/public/workspace/ant-antlibs/antunit/build/ant-antunit-26012009.jar:/srv/gump/public/workspace/junit/dist/junit-26012009.jar:jasper-compiler-gump-25012009.jar:jasper-runtime-gump-25012009.jar:/srv/gump/public/workspace/xml-commons/java/build/which.jar:/srv/gump/public/workspace/rhino/build/rhino_26012009/js.jar:/srv/gump/packages/bsh-2.0b4/bsh-commands-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-classpath-2.0b4.jar:/srv/gump/pa
 
ckages/bsh-2.0b4/bsh-core-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-bsf-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-reflect-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-util-2.0b4.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-26012009.jar
-
[au:antunit] Target: testunion took 0.035 sec
[au:antunit] Target: testhttpurl1 took 0.843 sec
[au:antunit] Target: testresource took 0.027 sec
[au:antunit] 

[jira] Closed: (IVY-1016) Patch to add an ivy:eclipse ant task that generates Eclipse .classpath files

2009-01-26 Thread Jing Xue (JIRA)

 [ 
https://issues.apache.org/jira/browse/IVY-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Xue closed IVY-1016.
-


 Patch to add an ivy:eclipse ant task that generates Eclipse .classpath files
 

 Key: IVY-1016
 URL: https://issues.apache.org/jira/browse/IVY-1016
 Project: Ivy
  Issue Type: New Feature
  Components: Ant
Affects Versions: trunk
Reporter: Jing Xue
 Attachments: EclipseClasspath.java


 I put together a post-resolve ivy:eclipse task that updates the Eclipse 
 .classpath file according to the result of ivy:resolve.  It also will 
 discover any source jars if they are part of the resolve/download, and 
 automatically attach them to the corresponding entries.
 For example,  I have this entry in ivy.xml:
 {code:xml|title=ivy.xml}
 dependency org=commons-collections name=commons-collections rev=3.2.1 
 conf=compile;references
 artifact name=commons-collections type=sources ext=jar 
 m:classifier=sources conf=references /
 /dependency
 {code}
 In build.xml, I have:
 {code:xml|title=build.xml}
 target name=eclipse description=Updates eclipse classpath.
 ivy:configure settingsId=ivy.eclipse override=true /
 ivy:resolve settingsRef=ivy.eclipse conf=compile, references /
 ivy:eclipse settingsRef=ivy.eclipse conf=compile, references /
 /target
 {code}
 And running 'ant eclipse' will update my .classpath with the cache path to 
 the commons-collections jar, with its sources jar attached.  The classpath 
 entry will be annotated with an ivygen=true. Next time I run 'ant eclipse', 
 this entry will be recognized and replaced with whatever updated paths.
 This is only the first draft. I know there is IvyDE, but I feel that this 
 could be a good starting point for an alternative that is more Ant-oriented.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (IVY-1016) Patch to add an ivy:eclipse ant task that generates Eclipse .classpath files

2009-01-26 Thread Jing Xue (JIRA)

 [ 
https://issues.apache.org/jira/browse/IVY-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Xue resolved IVY-1016.
---

Resolution: Won't Fix

I guess you have a good point, Xavier.  I'll wrap this up in a separate 
package.  Thanks for the comment!

 Patch to add an ivy:eclipse ant task that generates Eclipse .classpath files
 

 Key: IVY-1016
 URL: https://issues.apache.org/jira/browse/IVY-1016
 Project: Ivy
  Issue Type: New Feature
  Components: Ant
Affects Versions: trunk
Reporter: Jing Xue
 Attachments: EclipseClasspath.java


 I put together a post-resolve ivy:eclipse task that updates the Eclipse 
 .classpath file according to the result of ivy:resolve.  It also will 
 discover any source jars if they are part of the resolve/download, and 
 automatically attach them to the corresponding entries.
 For example,  I have this entry in ivy.xml:
 {code:xml|title=ivy.xml}
 dependency org=commons-collections name=commons-collections rev=3.2.1 
 conf=compile;references
 artifact name=commons-collections type=sources ext=jar 
 m:classifier=sources conf=references /
 /dependency
 {code}
 In build.xml, I have:
 {code:xml|title=build.xml}
 target name=eclipse description=Updates eclipse classpath.
 ivy:configure settingsId=ivy.eclipse override=true /
 ivy:resolve settingsRef=ivy.eclipse conf=compile, references /
 ivy:eclipse settingsRef=ivy.eclipse conf=compile, references /
 /target
 {code}
 And running 'ant eclipse' will update my .classpath with the cache path to 
 the commons-collections jar, with its sources jar attached.  The classpath 
 entry will be annotated with an ivygen=true. Next time I run 'ant eclipse', 
 this entry will be recognized and replaced with whatever updated paths.
 This is only the first draft. I know there is IvyDE, but I feel that this 
 could be a good starting point for an alternative that is more Ant-oriented.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (IVY-1018) include jsch classes in ivy jar

2009-01-26 Thread Ruslan Shevchenko (JIRA)
include jsch classes in ivy jar
---

 Key: IVY-1018
 URL: https://issues.apache.org/jira/browse/IVY-1018
 Project: Ivy
  Issue Type: Wish
  Components: Core
 Environment: any
Reporter: Ruslan Shevchenko
Priority: Minor


It would be good include copy of jsch in ivy.jar

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



DO NOT REPLY [Bug 46595] incorrect case for Ant variable VERSION in the documentation for the manifest task

2009-01-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46595


Stefan Bodewig bode...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Comment #1 from Stefan Bodewig bode...@apache.org  2009-01-26 21:04:46 
PST ---
the ${version} in the example is supposed to be the version of the JAR that
will contain the manifest, not Ant's version.  You can see this when you look
at the way it is used (in Specification-Version of the generated manifest).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 46559] org.apache.tools.zip.ZipFile leaves open file after RuntimeException

2009-01-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46559


Stefan Bodewig bode...@apache.org changed:

   What|Removed |Added

 CC||notifications@ant.apache.org
 AssignedTo|notifications@ant.apache.org|bode...@apache.org
   Target Milestone|--- |1.8.0
Version|unspecified |1.7.1




--- Comment #1 from Stefan Bodewig bode...@apache.org  2009-01-26 21:09:31 
PST ---
I can easily think of a patch, but would love to have a test case.

Can you provide a testcase that will trigger a RuntimeExcpetion inside the
constructor?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
You are the assignee for the bug.


DO NOT REPLY [Bug 46480] Running SQL Task inside Maven Ant-Run prevents logging for subsequent tasks

2009-01-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46480





--- Comment #9 from Stefan Bodewig bode...@apache.org  2009-01-26 21:10:22 
PST ---
any news on my patched jar?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


svn commit: r738005 - /ant/core/trunk/docs/manual/CoreTasks/antcall.html

2009-01-26 Thread bodewig
Author: bodewig
Date: Tue Jan 27 05:25:22 2009
New Revision: 738005

URL: http://svn.apache.org/viewvc?rev=738005view=rev
Log:
Use Matt's proposed text to fix PR 46526

Modified:
ant/core/trunk/docs/manual/CoreTasks/antcall.html

Modified: ant/core/trunk/docs/manual/CoreTasks/antcall.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/antcall.html?rev=738005r1=738004r2=738005view=diff
==
--- ant/core/trunk/docs/manual/CoreTasks/antcall.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/antcall.html Tue Jan 27 05:25:22 2009
@@ -67,6 +67,10 @@
 will be fixed and not overridable in the init task--or indeed in the 
quot;doSomethingElsequot; task.
 /p
 
+pThe called target(s) are run in a new project; be aware that this
+means properties, references, etc.  set by called targets will not
+persist back to the calling project./p
+
 pIf the build file changes after you've started the build, the
 behavior of this task is undefined./p
 




DO NOT REPLY [Bug 46526] Document behaviour of properties set in target called by antcall

2009-01-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46526


Stefan Bodewig bode...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |1.8.0




--- Comment #3 from Stefan Bodewig bode...@apache.org  2009-01-26 21:25:44 
PST ---
svn revision 738005 ( https://svn.apache.org/viewcvs.cgi?view=revrev=738005 )


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 46595] incorrect case for Ant variable VERSION in the documentation for the manifest task

2009-01-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46595





--- Comment #2 from George Thomas gthomas.c...@gtalumni.org  2009-01-26 
21:36:23 PST ---
(In reply to comment #1)
 the ${version} in the example is supposed to be the version of the JAR that
 will contain the manifest, not Ant's version.  You can see this when you look
 at the way it is used (in Specification-Version of the generated manifest).
 

Indeed; serves me right for not looking closely; I think I was confused by the
second sentence in the paragraph following the example: Creates or replaces
the file MANIFEST.MF. Note that the Built-By attribute will take the value of
the Ant property ${user.name}. The same is true for the ${version} and ${TODAY}
properties.

Thanks for clearing that up Stefan.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


svn commit: r738014 - in /ant/core/trunk: docs/index.html xdocs/index.xml

2009-01-26 Thread jhm
Author: jhm
Date: Tue Jan 27 07:13:13 2009
New Revision: 738014

URL: http://svn.apache.org/viewvc?rev=738014view=rev
Log:
The welcome page uses another content than the news, but Ivy 2.0.0 is worth 
to be announced on a more prominent place (too).

Modified:
ant/core/trunk/docs/index.html
ant/core/trunk/xdocs/index.xml

Modified: ant/core/trunk/docs/index.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/index.html?rev=738014r1=738013r2=738014view=diff
==
--- ant/core/trunk/docs/index.html (original)
+++ ant/core/trunk/docs/index.html Tue Jan 27 07:13:13 2009
@@ -201,6 +201,14 @@
   div class=content
 h1 class=titleWelcome/h1
 h3 class=section
+  a name=Ivy 2.0.0/a
+  Ivy 2.0.0
+/h3
+h3January 23, 2009 - Apache Ivy 2.0.0 Released/h3
+pApache Ivy 2.0.0 (final) is now available 
for download as source or binary (with and without
+  dependencies) from
+  a 
href=http://ant.apache.org/ivy/download.cgi;http://ant.apache.org/ivy/download.cgi/a./p
+h3 class=section
   a name=Ant 1.7.1/a
   Ant 1.7.1
 /h3

Modified: ant/core/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/xdocs/index.xml?rev=738014r1=738013r2=738014view=diff
==
--- ant/core/trunk/xdocs/index.xml (original)
+++ ant/core/trunk/xdocs/index.xml Tue Jan 27 07:13:13 2009
@@ -24,6 +24,14 @@
   /properties
 
 body
+  section name=Ivy 2.0.0
+h3January 23, 2009 - Apache Ivy 2.0.0 Released/h3
+pApache Ivy 2.0.0 (final) is now available for download as source or 
binary (with and without
+  dependencies) from
+  a 
href=http://ant.apache.org/ivy/download.cgi;http://ant.apache.org/ivy/download.cgi/a./p
+  /section
+
+
   section name=Ant 1.7.1
 h3June 27, 2008 - Ant 1.7.1 Available/h3
 pApache Ant 1.7.1 is now available for a




[jira] Commented: (IVY-1018) include jsch classes in ivy jar

2009-01-26 Thread JIRA

[ 
https://issues.apache.org/jira/browse/IVY-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12667606#action_12667606
 ] 

Jan Matèrne commented on IVY-1018:
--

JSch 0.1.31 is included in the distribution apache-ivy-2.0.0-bin-with-deps 
(in its lib folder).

http://ant.apache.org/ivy/download.cgi
http://ant.apache.org/ivy/choose-distrib.html

 include jsch classes in ivy jar
 ---

 Key: IVY-1018
 URL: https://issues.apache.org/jira/browse/IVY-1018
 Project: Ivy
  Issue Type: Wish
  Components: Core
 Environment: any
Reporter: Ruslan Shevchenko
Priority: Minor
   Original Estimate: 24h
  Remaining Estimate: 24h

 It would be good include copy of jsch in ivy.jar

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.