svn commit: r713972 - /ant/antlibs/common/trunk/build.xml

2008-11-14 Thread gscokart
Author: gscokart
Date: Fri Nov 14 02:46:13 2008
New Revision: 713972

URL: http://svn.apache.org/viewvc?rev=713972view=rev
Log:
if junit is not available, BuildFileTest can not be loaded (it extends junit 
TestCase).  But the failure reported was that ant-testutil.jar was not found

Modified:
ant/antlibs/common/trunk/build.xml

Modified: ant/antlibs/common/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/ant/antlibs/common/trunk/build.xml?rev=713972r1=713971r2=713972view=diff
==
--- ant/antlibs/common/trunk/build.xml (original)
+++ ant/antlibs/common/trunk/build.xml Fri Nov 14 02:46:13 2008
@@ -126,6 +126,9 @@
 
   target name=setup-for-junit-tests depends=setup,determine-test-types
 unless=skip-junit
+available classname=junit.framework.TestCase 
property=junit-present?/
+fail unless=junit-present?The JUnit library is not present./fail
+
 available classname=org.apache.tools.ant.BuildFileTest
   property=testutil-present?
   ignoresystemclasses=true




DO NOT REPLY [Bug 46203] input task can lose data

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46203





--- Comment #1 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 03:57:31 PST 
---
actually, things are a lot worse - and a lot more difficult to fix.  Throw in
an exec task and all bets are off
http://ant.apache.org/faq.html#input-makes-exec-hang

There is a recommended way for reading an input's tasks input from a file and
that is to use a different InputHandler.  Your customer shouldn't use stdin
redirects at all, this is not a supported use-case for input (and thus I could
simply claim it is a bug).

What you should use is a properties file with the answers to your different
input tasks (the keys of that property files are the input's prompts) and a
PropertyFileInputHandler.

I know you said you may not be able to change things on your side, but this is
at least as much a you are using ant in a way that it doesn't support as a
bug.


-- 
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 4240] war task enhancements needed

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=4240


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||notifications@ant.apache.org
 AssignedTo|notifications@ant.apache.org|[EMAIL PROTECTED]
 Status|REOPENED|NEW




-- 
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 4240] create a resource collection that uses a nested mapper

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=4240


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|war task enhancements needed|create a resource collection
   ||that uses a nested mapper
   Target Milestone|--- |1.8.0




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


DO NOT REPLY [Bug 28299] Please add mapper inside fileset

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=28299


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Comment #7 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 06:08:04 PST 
---


*** This bug has been marked as a duplicate of bug 4240 ***


-- 
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 46091] erroronmissingdir attribute equivalent for archive-type filesets (e.g. zipfileset)

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46091


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||notifications@ant.apache.org
 AssignedTo|notifications@ant.apache.org|[EMAIL PROTECTED]




-- 
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 43067] Enhanced zipfileset to extract sub-path of zips

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=43067


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Comment #2 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 06:38:52 PST 
---


*** This bug has been marked as a duplicate of bug 4240 ***


-- 
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 4240] create a resource collection that uses a nested mapper

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=4240


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #9 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 06:38:52 PST 
---
*** Bug 43067 has been marked as a duplicate of this bug. ***


-- 
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: r714018 - /ant/ivy/site/ivyde/download.html

2008-11-14 Thread hibou
Author: hibou
Date: Fri Nov 14 06:41:32 2008
New Revision: 714018

URL: http://svn.apache.org/viewvc?rev=714018view=rev
Log:
Change the URL of the updatesite, like we agreed

Modified:
ant/ivy/site/ivyde/download.html

Modified: ant/ivy/site/ivyde/download.html
URL: 
http://svn.apache.org/viewvc/ant/ivy/site/ivyde/download.html?rev=714018r1=714017r2=714018view=diff
==
--- ant/ivy/site/ivyde/download.html (original)
+++ ant/ivy/site/ivyde/download.html Fri Nov 14 06:41:32 2008
@@ -29,7 +29,7 @@
 
 h1a name=updatesite/aUpdate site/h1
 
-You can install Apache IvyDE plugins from the IvyDE update site: 
http://ant.apache.org/ivy/ivyde/updatesite.
+You can install Apache IvyDE plugins from the IvyDE update site: 
http://www.apache.org/dist/ant/ivyde/updatesite.
 
 First you have to configure Eclipse: add the IvyDE update site. In order to do 
it, follow these steps (Note that for Eclipse 3.4 it may defers):
 ul
@@ -37,7 +37,7 @@
 liIn the popup window, select bSearch for features to install/b, and 
click bNext/b/li
 liThen click on bNew Remote Site.../b/li
 liName: iApache Ivy update site/i/li
-liURL: i http://ant.apache.org/ivy/ivyde/updatesite /i /li
+liURL: i http://www.apache.org/dist/ant/ivyde/updatesite /i /li
 liClick bOK/b/li
 liA new entry Apache Ivy update site will appear in the list of update 
sites/li
 /ul




DO NOT REPLY [Bug 40810] Zipfileset: optionally include added dir as entry

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40810





--- Comment #1 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 06:42:49 PST 
---
wouldn't you achieve the same result with a plain fileset?

fileset dir=${src}/.. includes=src//


-- 
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 32804] check version of Ant

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=32804


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|VERIFIED|CLOSED




-- 
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 40259] FileSet should include an attribute to specify not found behavior

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40259


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE
   Target Milestone|--- |1.7.1




--- Comment #9 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 06:45:01 PST 
---


*** This bug has been marked as a duplicate of bug 11270 ***


-- 
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 45284] allow for regular expressions in FileSet include and exclude

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45284


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #4 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 06:46:41 PST 
---
*** Bug 23760 has been marked as a duplicate of this bug. ***


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


DO NOT REPLY [Bug 23760] allow for regular expressions in FileSet include and exclude

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=23760


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Comment #5 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 06:46:41 PST 
---


*** This bug has been marked as a duplicate of bug 45284 ***


-- 
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 8722] allow setting class path for optional tasks via build file

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=8722


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Comment #3 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 06:23:14 PST 
---


*** This bug has been marked as a duplicate of bug 28228 ***


-- 
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: r714022 - /ant/ivy/site/target/ivyde/download.html

2008-11-14 Thread hibou
Author: hibou
Date: Fri Nov 14 06:57:53 2008
New Revision: 714022

URL: http://svn.apache.org/viewvc?rev=714022view=rev
Log:
update of the site

Modified:
ant/ivy/site/target/ivyde/download.html

Modified: ant/ivy/site/target/ivyde/download.html
URL: 
http://svn.apache.org/viewvc/ant/ivy/site/target/ivyde/download.html?rev=714022r1=714021r2=714022view=diff
==
--- ant/ivy/site/target/ivyde/download.html (original)
+++ ant/ivy/site/target/ivyde/download.html Fri Nov 14 06:57:53 2008
@@ -69,7 +69,7 @@
div class=block block-book id=block-book-0
h2IvyDE/h2
 
-   div class=contentul id=treemenu class=treeviewli 
id=xooki-index class=submenua href=index.html Home/aul 
class=closedli id=xooki-faqa href=faq.html FAQ/a/li/ul/lili 
id=xooki-downloada href=download.html 
class=currentDownload/a/lili id=xooki-history/latest-milestone/index 
class=submenua href=history/latest-milestone/index.html Documentation 
(2.0.0.alpha1)/aul class=closedli 
id=xooki-history/latest-milestone/editora 
href=history/latest-milestone/editor.html Editor/a/lili 
id=xooki-history/latest-milestone/cp_containera 
href=history/latest-milestone/cp_container.html Classpath 
Container/a/lili id=xooki-history/latest-milestone/mavena 
href=history/latest-milestone/maven.html Use with maven poms/a/lili 
id=xooki-history/latest-milestone/consolea 
href=history/latest-milestone/console.html Ivy Console/a/lili 
id=xooki-history/latest-milestone/builda href=histo
 ry/latest-milestone/build.html Building IvyDE/a/li/ul/lili 
id=xooki-history class=submenua href=history.html History/aul 
class=closedli id=xooki-history/trunk/index class=submenua 
href=history/trunk/index.html trunk/aul class=closedli 
id=xooki-history/trunk/editora href=history/trunk/editor.html 
Editor/a/lili id=xooki-history/trunk/cp_containera 
href=history/trunk/cp_container.html Classpath Container/a/lili 
id=xooki-history/trunk/mavena href=history/trunk/maven.html Use with 
maven poms/a/lili id=xooki-history/trunk/consolea 
href=history/trunk/console.html Ivy Console/a/lili 
id=xooki-history/trunk/builda href=history/trunk/build.html Building 
IvyDE/a/li/ul/lili id=xooki-2.x class=submenu2.xul 
class=closedli id=xooki-history/2.0 class=submenu2.0.xul 
class=closedli id=xooki-history/2.0.0.alpha1/index class=submenua 
href=history/2.0.0.alpha1/inde
 x.html 2.0.0.alpha1/aul class=closedli 
id=xooki-history/2.0.0.alpha1/editora 
href=history/2.0.0.alpha1/editor.html Editor/a/lili 
id=xooki-history/2.0.0.alpha1/cp_containera 
href=history/2.0.0.alpha1/cp_container.html Classpath Container/a/lili 
id=xooki-history/2.0.0.alpha1/mavena href=history/2.0.0.alpha1/maven.html 
Use with maven poms/a/lili id=xooki-history/2.0.0.alpha1/consolea 
href=history/2.0.0.alpha1/console.html Ivy Console/a/lili 
id=xooki-history/2.0.0.alpha1/builda href=history/2.0.0.alpha1/build.html 
Building IvyDE/a/li/ul/li/ul/li/ul/lili 
id=xooki-history/1.2.0/index class=submenua 
href=history/1.2.0/index.html 1.2.0/aul class=closedli 
id=xooki-history/1.2.0/editora href=history/1.2.0/editor.html 
Editor/a/lili id=xooki-history/1.2.0/cp_containera 
href=history/1.2.0/cp_container.html Classpath Container/a/lili 
id=xooki-history/1.2.0/mavena hr
 ef=history/1.2.0/maven.html Use with maven 
poms/a/li/ul/li/ul/lili id=xooki-get-involved class=submenua 
href=get-involved.html Get Involved/aul class=closedli 
id=xooki-mailing-listsa href=mailing-lists.html Mailing 
Lists/a/lili id=xooki-issuesa href=issues.html Issue 
Tracking/a/li/ul/li/ul/div
+   div class=contentul id=treemenu class=treeviewli 
id=xooki-index class=submenua href=index.html Home/aul 
class=closedli id=xooki-faqa href=faq.html FAQ/a/li/ul/lili 
id=xooki-downloada href=download.html 
class=currentDownload/a/lili id=xooki-history/latest-milestone/index 
class=submenua href=history/latest-milestone/index.html Documentation 
(2.0.0.alpha1)/aul class=closedli 
id=xooki-history/latest-milestone/editora 
href=history/latest-milestone/editor.html Editor/a/lili 
id=xooki-history/latest-milestone/cp_containera 
href=history/latest-milestone/cp_container.html Classpath 
Container/a/lili id=xooki-history/latest-milestone/mavena 
href=history/latest-milestone/maven.html Use with maven poms/a/lili 
id=xooki-history/latest-milestone/consolea 
href=history/latest-milestone/console.html Ivy Console/a/lili 
id=xooki-history/latest-milestone/builda href=histo
 ry/latest-milestone/build.html Building IvyDE/a/li/ul/lili 
id=xooki-history class=submenua href=history.html History/aul 
class=closedli id=xooki-history/trunk/index class=submenua 
href=history/trunk/index.html trunk/aul class=closedli 
id=xooki-history/trunk/editora href=history/trunk/editor.html 
Editor/a/lili id=xooki-history/trunk/cp_containera 
href=history/trunk/cp_container.html Classpath Container/a/lili 
id=xooki-history/trunk/mavena href=history/trunk/maven.html Use 

DO NOT REPLY [Bug 40810] Zipfileset: optionally include added dir as entry

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40810





--- Comment #2 from Lars Monsees [EMAIL PROTECTED]  2008-11-14 06:59:53 PST 
---
hmm, this is way to long ago. I donĀ“t even know where I wanted to use this...


-- 
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 7624] chmod task should be extensible to non-Unix systems

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=7624


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #5 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 07:12:38 PST 
---
addressed chown, chgrp and attrib at the same time.

svn revision 714025 ( https://svn.apache.org/viewcvs.cgi?view=revrev=714025 )


-- 
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: r714026 - /ant/ivy/site/links.html

2008-11-14 Thread hibou
Author: hibou
Date: Fri Nov 14 07:14:52 2008
New Revision: 714026

URL: http://svn.apache.org/viewvc?rev=714026view=rev
Log:
Update of the link referring to IvySvn

Modified:
ant/ivy/site/links.html

Modified: ant/ivy/site/links.html
URL: 
http://svn.apache.org/viewvc/ant/ivy/site/links.html?rev=714026r1=714025r2=714026view=diff
==
--- ant/ivy/site/links.html (original)
+++ ant/ivy/site/links.html Fri Nov 14 07:14:52 2008
@@ -56,7 +56,7 @@
 p is a plugin for intellij IDEA, which let you import all the libs described 
in the ivy.xml to the current module library./p
 lia href=http://plugins.intellij.net/plugin/?id=140;IVY for IDEA/a/li
 p is another plugin for intellij IDEA, which reads IDEA module settings such 
as classpath and source directories from IVY setup./p
-lia 
href=http://www.audioscrobbler.net/development/ivysvn/;ivy-svn/a/li
+lia href=http://code.google.com/p/ivysvn/;IvySvn/a/li
 p This is a subversion dependency resolver for Ivy 2.0./p
 lia href=http://wiki.hippo.nl/display/OS/SAnt+build+system;SAnt/a/li
 p SAnt (Shared Ant) is an experimental build system based on Ant and Ivy, 
primarily developpedd as part of the hippo project./p




[jira] Commented: (IVY-967) Improve ivy schema

2008-11-14 Thread Alexander Foreman (JIRA)

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

Alexander Foreman commented on IVY-967:
---

This looks like my bad.

We used to have a problem with this and I turned validate on and my build broke 
so I placed this JIRA.

I seemed to have tried it with an old version.

My latest code with RC2 works with validate on.

Many thanks.

 Improve ivy schema
 --

 Key: IVY-967
 URL: https://issues.apache.org/jira/browse/IVY-967
 Project: Ivy
  Issue Type: Improvement
  Components: Core
Affects Versions: 2.0-RC2
Reporter: Alexander Foreman

 Overcome the temporary workaround where XML schema validation of Ivy files 
 has been turned-off so Ivy extension attributes can be defined.
 ivy-module version=1.3 xmlns:e=http://ant.apache.org/ivy/extra;
 info organisation=msjava module=tools revision=2.4 
 e:jniPath=//ms/dist/msjava/PROJ/tools_jni/2.2//lib/
 Ivy lets you add custom meta-data where the meta-data property name is an xml 
 value, not a validated part of the xml structure
 Improve Ivy xsd to handle the curent appraoch
 o See info on xsd anyAttribute
 o anyAttribute namespace=http://ant.apache.org/ivy/extra/

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



[jira] Closed: (IVY-967) Improve ivy schema

2008-11-14 Thread Alexander Foreman (JIRA)

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

Alexander Foreman closed IVY-967.
-

   Resolution: Invalid
Fix Version/s: unspecified

I am closing this as it works.

 Improve ivy schema
 --

 Key: IVY-967
 URL: https://issues.apache.org/jira/browse/IVY-967
 Project: Ivy
  Issue Type: Improvement
  Components: Core
Affects Versions: 2.0-RC2
Reporter: Alexander Foreman
 Fix For: unspecified


 Overcome the temporary workaround where XML schema validation of Ivy files 
 has been turned-off so Ivy extension attributes can be defined.
 ivy-module version=1.3 xmlns:e=http://ant.apache.org/ivy/extra;
 info organisation=msjava module=tools revision=2.4 
 e:jniPath=//ms/dist/msjava/PROJ/tools_jni/2.2//lib/
 Ivy lets you add custom meta-data where the meta-data property name is an xml 
 value, not a validated part of the xml structure
 Improve Ivy xsd to handle the curent appraoch
 o See info on xsd anyAttribute
 o anyAttribute namespace=http://ant.apache.org/ivy/extra/

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



svn commit: r714039 - /ant/ivy/site/target/links.html

2008-11-14 Thread hibou
Author: hibou
Date: Fri Nov 14 07:41:09 2008
New Revision: 714039

URL: http://svn.apache.org/viewvc?rev=714039view=rev
Log:
update of the ivy site

Modified:
ant/ivy/site/target/links.html

Modified: ant/ivy/site/target/links.html
URL: 
http://svn.apache.org/viewvc/ant/ivy/site/target/links.html?rev=714039r1=714038r2=714039view=diff
==
--- ant/ivy/site/target/links.html (original)
+++ ant/ivy/site/target/links.html Fri Nov 14 07:41:09 2008
@@ -127,7 +127,7 @@
 p is a plugin for intellij IDEA, which let you import all the libs described 
in the ivy.xml to the current module library./p
 lia href=http://plugins.intellij.net/plugin/?id=140;IVY for IDEA/a/li
 p is another plugin for intellij IDEA, which reads IDEA module settings such 
as classpath and source directories from IVY setup./p
-lia 
href=http://www.audioscrobbler.net/development/ivysvn/;ivy-svn/a/li
+lia href=http://code.google.com/p/ivysvn/;IvySvn/a/li
 p This is a subversion dependency resolver for Ivy 2.0./p
 lia href=http://wiki.hippo.nl/display/OS/SAnt+build+system;SAnt/a/li
 p SAnt (Shared Ant) is an experimental build system based on Ant and Ivy, 
primarily developpedd as part of the hippo project./p




DO NOT REPLY [Bug 6599] Fork in javadoc is not needed if you added a security manager

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=6599





--- Comment #7 from Jesse Glick [EMAIL PROTECTED]  2008-11-14 07:41:05 PST ---
We can't just call one of the overloads of com.sun.tools.javadoc.Main.execute?
It is only .main(String...) which calls System.exit. Obviously you could not
pass maxmemory (-J-Xmx), but I think all other cmdline params would be OK.


-- 
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: r714052 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java

2008-11-14 Thread bodewig
Author: bodewig
Date: Fri Nov 14 08:03:13 2008
New Revision: 714052

URL: http://svn.apache.org/viewvc?rev=714052view=rev
Log:
wrong name of constant

Modified:

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java?rev=714052r1=714051r2=714052view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java
 (original)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java
 Fri Nov 14 08:03:13 2008
@@ -177,7 +177,7 @@
  */
 protected boolean isValidOs() {
 return getOs() == null  getOsFamily() == null ?
-Os.isFamily(Os.WINDOWS) : super.isValidOs();
+Os.isFamily(Os.FAMILY_WINDOWS) : super.isValidOs();
 }
 
 private static String getSignString(boolean attr) {




svn commit: r714053 - /ant/core/trunk/src/main/org/apache/tools/ant/types/resources/MappedResource.java

2008-11-14 Thread bodewig
Author: bodewig
Date: Fri Nov 14 08:04:30 2008
New Revision: 714053

URL: http://svn.apache.org/viewvc?rev=714053view=rev
Log:
initial, completely non-functional mapped resource.  There must be a better way 
to support the optional resoucre interfaces!

Added:

ant/core/trunk/src/main/org/apache/tools/ant/types/resources/MappedResource.java
   (with props)

Added: 
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/MappedResource.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/resources/MappedResource.java?rev=714053view=auto
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/MappedResource.java
 (added)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/types/resources/MappedResource.java
 Fri Nov 14 08:04:30 2008
@@ -0,0 +1,324 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the License); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an AS IS BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+package org.apache.tools.ant.types.resources;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import org.apache.tools.ant.types.Reference;
+import org.apache.tools.ant.types.Resource;
+
+/**
+ * A decorator around a different resource that uses a mapper to
+ * dynamically remap the resource's name.
+ *
+ * pDoes not change any of the other methods, in particular
+ * getFile() does not map the file name./p
+ *
+ * pOverwrites all setters to throw exceptions./p
+ *
+ * @since Ant 1.8.0
+ */
+public class MappedResource extends Resource {
+private final Resource wrapped;
+
+// should only be instantiated via factory, this also means we
+// don't have to think about being a reference to a different
+// resource
+
+/**
+ * Wraps an existing resource.
+ */
+protected MappedResource(Resource r) {
+wrapped = r;
+}
+
+/**
+ * Maps the name.
+ */
+public String getName() {
+return wrapped.getName();
+}
+
+/**
+ * Not supported.
+ */
+public void setName(String name) {
+throw new UnsupportedOperationException();
+}
+
+/**
+ * delegated to the wrapped resource.
+ */
+public boolean isExists() {
+return wrapped.isExists();
+}
+
+/**
+ * Not supported.
+ */
+public void setExists(boolean exists) {
+throw new UnsupportedOperationException();
+}
+
+/**
+ * delegated to the wrapped resource.
+ */
+public long getLastModified() {
+return wrapped.getLastModified();
+}
+
+/**
+ * Not supported.
+ */
+public void setLastModified(long lastmodified) {
+throw new UnsupportedOperationException();
+}
+
+/**
+ * delegated to the wrapped resource.
+ */
+public boolean isDirectory() {
+return wrapped.isDirectory();
+}
+
+/**
+ * Not supported.
+ */
+public void setDirectory(boolean directory) {
+throw new UnsupportedOperationException();
+}
+
+/**
+ * delegated to the wrapped resource.
+ */
+public long getSize() {
+return wrapped.getSize();
+}
+
+/**
+ * Not supported.
+ */
+public void setSize(long size) {
+throw new UnsupportedOperationException();
+}
+
+/**
+ * delegated to the wrapped resource.
+ */
+public InputStream getInputStream() throws IOException {
+return wrapped.getInputStream();
+}
+
+/**
+ * delegated to the wrapped resource.
+ */
+public OutputStream getOutputStream() throws IOException {
+return wrapped.getOutputStream();
+}
+
+/**
+ * delegated to the wrapped resource.
+ */
+public boolean isFilesystemOnly() {
+return wrapped.isFilesystemOnly();
+}
+
+public String toString() {
+return mapped  + wrapped.toString();
+}
+
+/**
+ * Not supported.
+ */
+public void setRefid(Reference r) {
+throw new UnsupportedOperationException();
+}
+
+public static MappedResource map(Resource r) {
+if (r instanceof FileProvider) {
+if (r instanceof Touchable) {
+if (r instanceof Appendable) {
+  

DO NOT REPLY [Bug 40810] Zipfileset: optionally include added dir as entry

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=40810


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Comment #3 from Stefan Bodewig [EMAIL PROTECTED]  2008-11-14 08:06:33 PST 
---
I know, two years is way to long to come back to this.

Let's close it.


-- 
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 6599] Fork in javadoc is not needed if you added a security manager

2008-11-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=6599





--- Comment #9 from Jesse Glick [EMAIL PROTECTED]  2008-11-14 08:22:20 PST ---
Well, we already call com.sun.tools.javac.Main, so it would be pretty
analogous. Although com.sun.** classes are not part of the Java platform
definition, Sun makes an effort to retain compatibility in them (unlike sun.**
classes which are truly private).

I don't personally see a compelling need for this enhancement. It could speed
up projects that call javadoc many times on small data sets, which is
probably unusual. (There is a NetBeans build target that actually does just
this, but it is hardly in the critical path of an average developer of that
codebase.) If there is interest nonetheless, it would probably not be hard to
do.


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


[jira] Created: (IVY-969) Add links to more IDE integration plugins

2008-11-14 Thread Maarten Coene (JIRA)
Add links to more IDE integration plugins
-

 Key: IVY-969
 URL: https://issues.apache.org/jira/browse/IVY-969
 Project: Ivy
  Issue Type: Improvement
  Components: Documentation
Reporter: Maarten Coene


Add links to:
- IvyIDEA (IntelliJ IDEA plugin) : http://code.google.com/p/ivyidea/
- IvyBeans (Netbeans plugin) : http://code.google.com/p/ivybeans/

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