svn commit: r436634 - /ant/core/trunk/docs/manual/CoreTasks/diagnostics.html

2006-08-24 Thread bodewig
Author: bodewig
Date: Thu Aug 24 20:54:00 2006
New Revision: 436634

URL: http://svn.apache.org/viewvc?rev=436634&view=rev
Log:
fix line-ends

Modified:
ant/core/trunk/docs/manual/CoreTasks/diagnostics.html   (props changed)

Propchange: ant/core/trunk/docs/manual/CoreTasks/diagnostics.html
--
svn:eol-style = native



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r436633 - in /ant/core/trunk/docs: antlibs/antunit/index.html antlibs/dotnet/index.html external.html manual/CoreTasks/diagnostics.html manual/CoreTasks/java.html manual/CoreTasks/style.ht

2006-08-24 Thread bodewig
Author: bodewig
Date: Thu Aug 24 20:46:29 2006
New Revision: 436633

URL: http://svn.apache.org/viewvc?rev=436633&view=rev
Log:
re-generate site

Modified:
ant/core/trunk/docs/antlibs/antunit/index.html
ant/core/trunk/docs/antlibs/dotnet/index.html
ant/core/trunk/docs/external.html
ant/core/trunk/docs/manual/CoreTasks/diagnostics.html
ant/core/trunk/docs/manual/CoreTasks/java.html
ant/core/trunk/docs/manual/CoreTasks/style.html
ant/core/trunk/docs/manual/CoreTasks/subant.html
ant/core/trunk/docs/manual/listeners.html

Modified: ant/core/trunk/docs/antlibs/antunit/index.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/antlibs/antunit/index.html?rev=436633&r1=436632&r2=436633&view=diff
==
--- ant/core/trunk/docs/antlibs/antunit/index.html (original)
+++ ant/core/trunk/docs/antlibs/antunit/index.html Thu Aug 24 20:46:29 2006
@@ -247,9 +247,10 @@
 interface that can be used to record test results.  The
  task accepts arbitrary many listeners and
 relays test results to them.
-Currently only a single implementation
- modelled after the "plain"
-JUnit listener is bundled with the library.
+Currently two implementations -
+ and xmllistener 
+modelled after the "plain" and "xml"
+JUnit listeners - are bundled with the library.
 
   
   Examples
@@ -263,7 +264,7 @@
 
   
 
-  
+  
   
 
   

Modified: ant/core/trunk/docs/antlibs/dotnet/index.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/antlibs/dotnet/index.html?rev=436633&r1=436632&r2=436633&view=diff
==
--- ant/core/trunk/docs/antlibs/dotnet/index.html (original)
+++ ant/core/trunk/docs/antlibs/dotnet/index.html Thu Aug 24 20:46:29 2006
@@ -126,6 +126,9 @@
 Based on this a few tasks to run well known 
.NET utilities
   from within Ant are provided, namely tasks to run http://www.nunit.org/";>NUnit, http://nant.sf.net/";>NAnt, 
http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=27&SiteID=1";>MSBuild
   and the http://wix.sf.net/";>Wix toolkit.
+The initial .NET tasks of Ant (compiler 
tasks for C#, J# and VB.NET
+  for example) have also been moved to this Antlib and will see further
+  development here.
 
   
   Tasks

Modified: ant/core/trunk/docs/external.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/external.html?rev=436633&r1=436632&r2=436633&view=diff
==
--- ant/core/trunk/docs/external.html (original)
+++ ant/core/trunk/docs/external.html Thu Aug 24 20:46:29 2006
@@ -6413,7 +6413,7 @@
   
   
-  bundles Ant 1.6.2 as of NetBeans 4.1; 1.6.5 for NetBeans 5.0
+  bundles 1.6.5 for NetBeans 5.0 and 5.5
   
   
   
@@ -6443,7 +6443,7 @@
   
   
-  Sun Public License
+  Common Development and Distribution License
   
   
   

Modified: ant/core/trunk/docs/manual/CoreTasks/diagnostics.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/diagnostics.html?rev=436633&r1=436632&r2=436633&view=diff
==
--- ant/core/trunk/docs/manual/CoreTasks/diagnostics.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/diagnostics.html Thu Aug 24 20:46:29 
2006
@@ -1,34 +1,34 @@
-
-
-
-
-
-Diagnostics Task
-
-
-
-
-Diagnostics
-Diagnostics
-
-
-Runs Ant's -diagnostics code inside Ant itself. This is good for 
-debugging Ant's configuration under an IDE. 
-
-Examples
-
-
-
-
-
-
-
-
-Prints out the current diagnostics dump.
-
-
-Copyright © 2006 The Apache Software Foundation. All 
rights
-Reserved.
-
-
-
+
+
+
+
+
+Diagnostics Task
+
+
+
+
+Diagnostics
+Diagnostics
+
+
+Runs Ant's -diagnostics code inside Ant itself. This is good for 
+debugging Ant's configuration under an IDE. 
+
+Examples
+
+
+
+
+
+
+
+
+Prints out the current diagnostics dump.
+
+
+Copyright © 2006 The Apache Software Foundation. All 
rights
+Reserved.
+
+
+

Modified: ant/core/trunk/docs/manual/CoreTasks/java.html
URL: 
http://svn.apa

svn commit: r436632 - in /ant/core/trunk/xdocs/antlibs: antunit/index.xml dotnet/index.xml

2006-08-24 Thread bodewig
Author: bodewig
Date: Thu Aug 24 20:45:49 2006
New Revision: 436632

URL: http://svn.apache.org/viewvc?rev=436632&view=rev
Log:
update Antlib status

Modified:
ant/core/trunk/xdocs/antlibs/antunit/index.xml
ant/core/trunk/xdocs/antlibs/dotnet/index.xml

Modified: ant/core/trunk/xdocs/antlibs/antunit/index.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/xdocs/antlibs/antunit/index.xml?rev=436632&r1=436631&r2=436632&view=diff
==
--- ant/core/trunk/xdocs/antlibs/antunit/index.xml (original)
+++ ant/core/trunk/xdocs/antlibs/antunit/index.xml Thu Aug 24 20:45:49 2006
@@ -170,9 +170,10 @@
  task accepts arbitrary many listeners and
 relays test results to them.
 
-Currently only a single implementation
- modelled after the "plain"
-JUnit listener is bundled with the library.
+Currently two implementations -
+ and xmllistener 
+modelled after the "plain" and "xml"
+JUnit listeners - are bundled with the library.
   
 
 
@@ -188,7 +189,7 @@
 
   
 
-  
+  
   
 
   

Modified: ant/core/trunk/xdocs/antlibs/dotnet/index.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/xdocs/antlibs/dotnet/index.xml?rev=436632&r1=436631&r2=436632&view=diff
==
--- ant/core/trunk/xdocs/antlibs/dotnet/index.xml (original)
+++ ant/core/trunk/xdocs/antlibs/dotnet/index.xml Thu Aug 24 20:45:49 2006
@@ -44,6 +44,10 @@
   href="http://nant.sf.net/";>NAnt, http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=27&SiteID=1";>MSBuild
   and the http://wix.sf.net/";>Wix toolkit.
+
+  The initial .NET tasks of Ant (compiler tasks for C#, J# and VB.NET
+  for example) have also been moved to this Antlib and will see further
+  development here.
 
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Non-reflective version of DirectoryScanner refectoring

2006-08-24 Thread Antoine Levy-Lambert

Hello Kev,

this sounds like the solution.

I think the use of reflection in the ant codebase should be limited  
to cases where we want to use third party APIs which may or not be  
here and which we do not want to explicitly compile against.



Regards,

Antoine


On Aug 25, 2006, at 4:26 AM, Kev Jackson wrote:


Hi,

After thinking this through this morning on the ride into work,  
here is

a version of the refactoring (extract method) that doesn't use any
reflection (so should satisfy both Antoine and Matt ;))

Attached patch for testing purposes too.

/**
 * Process included file.
 * @param name  path of the file relative to the directory of the
FileSet.
 * @param file  included File.
 */
private void accountForIncludedFile(String name, File file) {
processIncluded(name, file, filesIncluded, filesExcluded,
filesDeselected);
}

/**
 * Process included directory.
 * @param name path of the directory relative to the directory of
 * the FileSet.
 * @param file directory as File.
 * @param fast whether to perform fast scans.
 */
private void accountForIncludedDir(String name, File file, boolean
fast) {
processIncluded(name, file, dirsIncluded, dirsExcluded,
dirsDeselected);
if (fast && couldHoldIncluded(name) && !contentsExcluded 
(name))

{
scandir(file, name + File.separator, fast);
}
}

private void processIncluded(String name, File file, Vector inc,
Vector exc, Vector des) {

if (inc.contains(name) || exc.contains(name) ||
des.contains(name)) { return; }

boolean included = false;
if (isExcluded(name)) {
exc.add(name);
} else if(isSelected(name, file)) {
included = true;
inc.add(name);
} else {
des.add(name);
}
everythingIncluded &= included;
}

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



DO NOT REPLY [Bug 40123] - [PATCH] Removing OPTIMIZE_TOKEN_MANAGER from JavaCC task

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40123


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-08-25 02:01 ---
Cool, yup, if properly written it should work with older JavaCC versions.  OK,
I'll see if I can give it a whirl.

In the meantime, I'll mark this as invalid since it'll be overtaken by events
once I rewrite the task...

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Wolfgang Häfelinger is out of the office.

2006-08-24 Thread Wolfgang Häfelinger

I will be out of the office starting  25-08-2006 and will not return until
05-09-2006.

I will respond to your message when I return.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Use of reflection in DirectoryScanner to remove duplicated code

2006-08-24 Thread Kev Jackson
> OK. Actually I had written the pieces of code which you are  
> refactoring. :( 

It's ok, I have the advantage of hindsight, coming into a stable
codebase is always easier than writing stuff from scratch - also I tend
to specialise in refactoring at work - I rarely sit down and write teh
original code (and if I do, I do the simplest possible solution, then
refactor the hell out of it)

Kev


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Non-reflective version of DirectoryScanner refectoring

2006-08-24 Thread Kev Jackson
Hi,

After thinking this through this morning on the ride into work, here is
a version of the refactoring (extract method) that doesn't use any
reflection (so should satisfy both Antoine and Matt ;))

Attached patch for testing purposes too.

/**
 * Process included file.
 * @param name  path of the file relative to the directory of the
FileSet.
 * @param file  included File.
 */
private void accountForIncludedFile(String name, File file) {
processIncluded(name, file, filesIncluded, filesExcluded,
filesDeselected);
}

/**
 * Process included directory.
 * @param name path of the directory relative to the directory of
 * the FileSet.
 * @param file directory as File.
 * @param fast whether to perform fast scans.
 */
private void accountForIncludedDir(String name, File file, boolean
fast) {
processIncluded(name, file, dirsIncluded, dirsExcluded,
dirsDeselected);
if (fast && couldHoldIncluded(name) && !contentsExcluded(name))
{
scandir(file, name + File.separator, fast);
}
}

private void processIncluded(String name, File file, Vector inc,
Vector exc, Vector des) {

if (inc.contains(name) || exc.contains(name) ||
des.contains(name)) { return; }

boolean included = false;
if (isExcluded(name)) {
exc.add(name);
} else if(isSelected(name, file)) {
included = true;
inc.add(name);
} else {
des.add(name);
}
everythingIncluded &= included;
}
Index: .
===
--- .	(revision 434293)
+++ .	(working copy)
@@ -1115,21 +1115,7 @@
  * @param file  included File.
  */
 private void accountForIncludedFile(String name, File file) {
-if (filesIncluded.contains(name)
-|| filesExcluded.contains(name)
-|| filesDeselected.contains(name)) {
-return;
-}
-boolean included = false;
-if (isExcluded(name)) {
-filesExcluded.addElement(name);
-} else if (isSelected(name, file)) {
-included = true;
-filesIncluded.addElement(name);
-} else {
-filesDeselected.addElement(name);
-}
-everythingIncluded &= included;
+	processIncluded(name, file, filesIncluded, filesExcluded, filesDeselected);
 }
 
 /**
@@ -1140,24 +1126,26 @@
  * @param fast whether to perform fast scans.
  */
 private void accountForIncludedDir(String name, File file, boolean fast) {
-if (dirsIncluded.contains(name)
-|| dirsExcluded.contains(name)
-|| dirsDeselected.contains(name)) {
-return;
+	processIncluded(name, file, dirsIncluded, dirsExcluded, dirsDeselected);
+if (fast && couldHoldIncluded(name) && !contentsExcluded(name)) {
+scandir(file, name + File.separator, fast);
 }
+}
+
+private void processIncluded(String name, File file, Vector inc, Vector exc, Vector des) {
+
+if (inc.contains(name) || exc.contains(name) || des.contains(name)) { return; }
+
 boolean included = false;
 if (isExcluded(name)) {
-dirsExcluded.addElement(name);
-} else if (isSelected(name, file)) {
+exc.add(name);
+} else if(isSelected(name, file)) {
 included = true;
-dirsIncluded.addElement(name);
+inc.add(name);
 } else {
-dirsDeselected.addElement(name);
+des.add(name);
 }
 everythingIncluded &= included;
-if (fast && couldHoldIncluded(name) && !contentsExcluded(name)) {
-scandir(file, name + File.separator, fast);
-}
 }
 
 /**

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: classloader for 1.7

2006-08-24 Thread Conor MacNeill
I'm +1 on having the classloader task and being able to add paths to the
 main Ant classloader. Internally, we have been using a very simple task
to extend the classpath and it is a very elegant solution for users who
don't want to modify their ant install, etc. It is not without its
hazards but those can be documented and are outweighed by the benefits.

Peter, perhaps you could explain why the current task does not work. I
must admit the proposal seemed quite complicated.

Conor

Peter Reilly wrote:
> The one in 1.6 does not work.
> The proposed one is totally different.
> see http://enitsys.sourceforge.net/ant-classloadertask/
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



wrong stdout for java task with fork="no" executed through a script task

2006-08-24 Thread Hari Krishna Dara

I have a macrodef to wrap the  task, just so I can execute it
conditionally. The conditional check is done inside a script. When the
script creates an  task and executes it, the  tasks that
have "fork" set to "no" don't get the stdout set properly, so the
output always comes on to console, even though an outputproperty is
set. Here is a sample build file (called t.xml) and a sample Java
program (called Hello.java) to be executed from the build file:

--cut here-


   
   
   
   
   
   
   
   

   
   
   
   
   
   
   
   
   
   
   
   
   
   

   
   
   
   
   
   
   
   
   
   
   
   
   
   
   

   
   
   
   

--cut here-

--cut here-
public class Hello
{
   public static void main(String[] args)
   {
   System.out.println("hello");
   }
}
--cut here-

Compile the program and execute the "testmyant" target, you can see
that the output comes through the script's stdout. If you directly
execute "testjava" target, it works as expected. I don't know if this
is specific to beanshell, but it should be the responsibility of java
task to make sure the stdout is set correctly, so isn't this a bug?

As a workaround I am replacing the 

DO NOT REPLY [Bug 40313] New: - doesnt delete when defaultexcludes="false" and no includes is set

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40313

   Summary:  doesnt delete when defaultexcludes="false" and
no includes is set
   Product: Ant
   Version: 1.7Alpha (nightly)
  Platform: Other
OS/Version: other
Status: NEW
  Severity: major
  Priority: P2
 Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


I am pretty surprised by this, but I think somehow we've got delete to fail. Its
possibly a regression, but this is what I am trying to delete



expected: the dir gets deleted, even if there is scm stuff in there

actual: nothing gets deleted, because I need a selection pattern

   [delete] DEPRECATED - Use of the implicit FileSet is deprecated.  Use a
nested fileset element instead.
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJImport) for
type vajimport
fileset: Setup scanner in dir
/home/slo/Projects/sfantbook/examples/diary/persist-webapp/dist with patternSet{
includes: [] excludes: [] }

Now, the implicit fileset is **/*. But as soon as you say
defaultexcludes="false" it switches to ""? That can't be right.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 20261] - Add a Sql task parameter to set the output column delimiter

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=20261





--- Additional Comments From [EMAIL PROTECTED]  2006-08-24 21:25 ---
This bug is also described in a portion of Bug 29516.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r434506 - in /ant/core/trunk: ./ docs/manual/OptionalTasks/ src/main/org/apache/tools/ant/taskdefs/optional/dotnet/

2006-08-24 Thread bodewig
Author: bodewig
Date: Thu Aug 24 13:18:53 2006
New Revision: 434506

URL: http://svn.apache.org/viewvc?rev=434506&view=rev
Log:
Use a more specific URL, don't shout that loud

Modified:
ant/core/trunk/WHATSNEW
ant/core/trunk/docs/manual/OptionalTasks/dotnet.html

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java

Modified: ant/core/trunk/WHATSNEW
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=434506&r1=434505&r2=434506&view=diff
==
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Thu Aug 24 13:18:53 2006
@@ -78,7 +78,7 @@
   receive an error if Ant itself would not start
 
 * All .NET tasks are now deprecated in favor of the new .NET Antlib:
-  http://ant.apache.org/antlibs/proper.html
+  http://ant.apache.org/antlibs/dotnet/index.html
 
 Fixed bugs:
 ---

Modified: ant/core/trunk/docs/manual/OptionalTasks/dotnet.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/dotnet.html?rev=434506&r1=434505&r2=434506&view=diff
==
--- ant/core/trunk/docs/manual/OptionalTasks/dotnet.html (original)
+++ ant/core/trunk/docs/manual/OptionalTasks/dotnet.html Thu Aug 24 13:18:53 
2006
@@ -10,7 +10,7 @@
 
 These tasks are deprecated and will be removed in a future
 release of Ant.  They are now part of the http://ant.apache.org/antlibs/proper.html";>.NET
+href="http://ant.apache.org/antlibs/dotnet/index.html";>.NET
 Antlib.
 
 Ant support for .NET goes back to before .NET was released, and

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java?rev=434506&r1=434505&r2=434506&view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
 (original)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
 Thu Aug 24 13:18:53 2006
@@ -811,7 +811,8 @@
  throws BuildException {
 log("This task is deprecated and will be removed in a future version\n"
 + "of Ant.  It is now part of the .NET Antlib:\n"
-+ "http://ant.apache.org/antlibs/proper.html";, Project.MSG_ERR);
++ "http://ant.apache.org/antlibs/dotnet/index.html";,
+Project.MSG_WARN);
 
 validate();
 NetCommand command = createNetCommand();

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java?rev=434506&r1=434505&r2=434506&view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
 (original)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
 Thu Aug 24 13:18:53 2006
@@ -458,7 +458,8 @@
  throws BuildException {
 log("This task is deprecated and will be removed in a future version\n"
 + "of Ant.  It is now part of the .NET Antlib:\n"
-+ "http://ant.apache.org/antlibs/proper.html";, Project.MSG_ERR);
++ "http://ant.apache.org/antlibs/dotnet/index.html";,
+Project.MSG_WARN);
 NetCommand command = buildIlasmCommand();
 
 addFilesAndExecute(command, false);

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java?rev=434506&r1=434505&r2=434506&view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java
 (original)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java
 Thu Aug 24 13:18:53 2006
@@ -347,7 +347,8 @@
 public void execute() throws BuildException {
 log("This task is deprecated and will be removed in a future version\n"
 + "of Ant.  It is now part of the .NET Antlib:\n"
-+ "http://ant.apache.org/antlibs/proper.html";, Project.MSG_ERR);
++ "http://ant.apache.org/antlibs/dotnet/index.html";,
+Project.MSG_W

svn commit: r434500 - in /ant/core/trunk: ./ docs/manual/ docs/manual/OptionalTasks/ src/main/org/apache/tools/ant/taskdefs/optional/dotnet/

2006-08-24 Thread bodewig
Author: bodewig
Date: Thu Aug 24 13:11:31 2006
New Revision: 434500

URL: http://svn.apache.org/viewvc?rev=434500&view=rev
Log:
deprecate .NET tasks

Modified:
ant/core/trunk/WHATSNEW
ant/core/trunk/docs/manual/OptionalTasks/dotnet.html
ant/core/trunk/docs/manual/optionaltasklist.html

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java

Modified: ant/core/trunk/WHATSNEW
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=434500&r1=434499&r2=434500&view=diff
==
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Thu Aug 24 13:11:31 2006
@@ -77,6 +77,9 @@
   affect programs/scripts that called the launcher and which did not want to
   receive an error if Ant itself would not start
 
+* All .NET tasks are now deprecated in favor of the new .NET Antlib:
+  http://ant.apache.org/antlibs/proper.html
+
 Fixed bugs:
 ---
 

Modified: ant/core/trunk/docs/manual/OptionalTasks/dotnet.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/dotnet.html?rev=434500&r1=434499&r2=434500&view=diff
==
--- ant/core/trunk/docs/manual/OptionalTasks/dotnet.html (original)
+++ ant/core/trunk/docs/manual/OptionalTasks/dotnet.html Thu Aug 24 13:11:31 
2006
@@ -8,6 +8,11 @@
 Introduction
 
 
+These tasks are deprecated and will be removed in a future
+release of Ant.  They are now part of the http://ant.apache.org/antlibs/proper.html";>.NET
+Antlib.
+
 Ant support for .NET goes back to before .NET was released, and
 continues to be expanded based on user demand. Users writing nothing but
 a .NET application, may want to look at the .NET-based

Modified: ant/core/trunk/docs/manual/optionaltasklist.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/optionaltasklist.html?rev=434500&r1=434499&r2=434500&view=diff
==
--- ant/core/trunk/docs/manual/optionaltasklist.html (original)
+++ ant/core/trunk/docs/manual/optionaltasklist.html Thu Aug 24 13:11:31 2006
@@ -16,7 +16,7 @@
 Concepts and Types
 
 Optional Tasks
-.NET Tasks
+.NET Tasks
 ANTLR
 Attrib
 Cab

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java?rev=434500&r1=434499&r2=434500&view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
 (original)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
 Thu Aug 24 13:11:31 2006
@@ -809,6 +809,10 @@
  */
 public void execute()
  throws BuildException {
+log("This task is deprecated and will be removed in a future version\n"
++ "of Ant.  It is now part of the .NET Antlib:\n"
++ "http://ant.apache.org/antlibs/proper.html";, Project.MSG_ERR);
+
 validate();
 NetCommand command = createNetCommand();
 //set up response file options

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java?rev=434500&r1=434499&r2=434500&view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
 (original)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
 Thu Aug 24 13:11:31 2006
@@ -456,6 +456,9 @@
  */
 public void execute()
  throws BuildException {
+log("This task is deprecated and will be removed in a future version\n"
++ "of Ant.  It is now part of the .NET Antlib:\n"
++ "http://ant.apache.org/antlibs/proper.html";, Project.MSG_ERR);
 NetCommand command = buildIlasmCommand();
 
 addFilesAndExecute(command, false);

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java?rev=434500&r1=434499&r2=434500&view=diff
==
--- 
ant/core/trunk/src/main/org/apache

DO NOT REPLY [Bug 20261] - Add a Sql task parameter to set the output column delimiter

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=20261





--- Additional Comments From [EMAIL PROTECTED]  2006-08-24 19:51 ---
ANT SQL task currently hard codes the column separator as a ',' which means:
1) selects of data columns containing commas effectively introduces extra 
columns, randomly, according to appearance of commas in the data.
2) separately, if you did want a different column separator you then have to do 
an extra processing step (replaceregexp comma to desired-separator).

Workaround for data containing commas where you want a desired-separator is:
1) SQL - instead of SELECT data do SELECT REPLACE(data,',',COMMA_MARKER) on any 
selected column that might contain comma.
2) REPLACEREGEXP on result of 1 to map commas from ANTs SQL output back to 
desired-separator.
3) REPLACEREGEXP on result of 2 to map COMMA_MARKER back to ','  

An alternative is to write your own SQL task.


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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r434498 - /ant/core/trunk/WHATSNEW

2006-08-24 Thread bodewig
Author: bodewig
Date: Thu Aug 24 13:09:39 2006
New Revision: 434498

URL: http://svn.apache.org/viewvc?rev=434498&view=rev
Log:
Move some non-breaking (IMHO) changes down, whitespace

Modified:
ant/core/trunk/WHATSNEW

Modified: ant/core/trunk/WHATSNEW
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=434498&r1=434497&r2=434498&view=diff
==
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Thu Aug 24 13:09:39 2006
@@ -7,15 +7,6 @@
 * Removed support for xalan1 completely. Users of Xalan1 for Ant builds will
   have to stay at ant 1.6.5 or upgrade to xalan2.
 
-* Improved recursion detection for lines with multiple matches of same token
-  on a single line.  Bugzilla report 38456.
-
-* Task will now log correctly even if no project is set.
-  Bugzilla report 38458.
-
-* Use alternative names for the command line arguments in javac. Bugzilla
-  Report 37546.
-
 * Use org.apache.log4j.Logger instead of org.apache.log4j.Category.
   Category has been deprecated for ~2 years and has been removed from
   the log4j code.  Logger was introduced in log4j 1.2 so users of
@@ -28,18 +19,6 @@
   it comes to bootclasspath handling), then the bootclasspath of the
   VM running Ant will be added to the bootclasspath you've specified.
 
-* The Reference class now has a project field that will get
-  used (if set) in preference to the passed in project, when
-  dereferencing the reference. Bugzilla Report 25777.
-
-* On DOS and Netware, filenames beginning with a drive letter
-  and followed by a colon but with no directory separator following
-  the colon are no longer (incorrectly) accepted as absolute pathnames
-  by FileUtils.normalize() and FileUtils.isAbsolutePath().  Netware
-  volumes can still be specified without an intervening separator.
-  UNC pathnames on Windows must include a server and share name, i.e.
-  "\\a\b" to be considered valid absolute paths.
-
 * The  now as per default installs a security manager
   using the default permissions. This is now independent of the
   failonerror attribute.  Bugzilla report 33361.
@@ -71,11 +50,8 @@
   IE (Windows) or Gnome2 (Unix/Linux) proxy settings. This may break any build
   file that somehow relied on content outside the firewall being unreachable:
   use the -noproxy command-line option to disable this new feature.
-  Note that the Java1.5 proxy configuration system still does not appear to 
work 
-  reliably on Windows or Linux.
-
-* A bug in SQLExec would prevent the execution of trailing,
-  non-semicolon-delimited statements.  Bugzilla Report 37764.
+  Note that the Java1.5 proxy configuration system still does not
+  appear to work reliably on Windows or Linux.
 
 * support for the XSL:P XML parser has been removed.
   Bugzilla Report 23455.
@@ -93,8 +69,8 @@
 *  used \r (Mac) line endings on OS X, whose proper line separator
   is \n (Unix).  Bugzilla report 39585.
 
-*  now optionally supports the sftp protocol, you may need a newer 
jsch.jar.
-  Bugzilla Report 39373.
+*  now optionally supports the sftp protocol, you may need a
+  newer jsch.jar.  Bugzilla Report 39373.
 
 * Ant launcher program prints errors to stderr, and exits with a 2 exit code
   value if, for any reason, it cannot actually start Ant proper. This will only
@@ -105,8 +81,9 @@
 ---
 
 * The build could be halted if a file path contained more ".." components than
-  the actual depth of the preceding path. Now such paths are left alone 
(meaning
-  they will likely be treated as nonexistent files). Bugzilla Report 40281.
+  the actual depth of the preceding path. Now such paths are left
+  alone (meaning they will likely be treated as nonexistent
+  files). Bugzilla Report 40281.
 
 * Converting a  to a string was broken. Bugzilla Report 39683.
 
@@ -115,13 +92,15 @@
 
 *  now closes the inputstream explicitly. Bug report 39628.
 
-*  now also correctly searches the first element of the path.  Bug report 
39345.
+*  now also correctly searches the first element of the path.
+  Bug report 39345.
 
 * ant.bat now handles classpath set to "". Bug report 38914.
 
 *  now supports JUnit 4. Bugzilla Report 38811.
 
-*  can now work with junit.jar in its . Bugzilla Report 
38799.
+*  can now work with junit.jar in its . Bugzilla
+  Report 38799.
 
 * Some potential NullPointerExceptions, Bugzilla Reports 37765 and 38056.
 
@@ -197,7 +176,8 @@
 
 * off-by-one error in environment setup for execution under OpenVMS fixed.
 
-* Bugzilla report 36171: -noclasspath crashes ant if no system classpath is 
set.
+* Bugzilla report 36171: -noclasspath crashes ant if no system
+  classpath is set.
 
 *  used wrong switch for retrieving revisions by label.
   Bugzilla Report 36359.
@@ -235,7 +215,8 @@
 
 *  could leak resources, Bugzilla Report 38260.
 
-* Redirector called Thread.sleep in a synchronized block. Bugzilla report 
37767.
+* Redirector called Thread.sleep in a synchronized bl

DO NOT REPLY [Bug 40311] New: - Ant doesn�t compile java.util.Collection

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40311

   Summary: Ant doesn´t compile java.util.Collection
   Product: Ant
   Version: 1.6.5
  Platform: Other
OS/Version: Windows 2000
Status: NEW
  Severity: blocker
  Priority: P1
 Component: Core
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


When i use Collection in an interface, i later implements this 
interface with a Collection and Son extends Class, it compiles by the 
jdeveloper, or whatever ide.

But with ant throws an error in the task javac. The error is the following :

incompatyble types.
Found : java.util.Collection
Required : java.util.Collection

And BaseSonVO extends BaseVO.

Thanks ind advance.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r434484 - in /ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet: ./ compile/

2006-08-24 Thread bodewig
Author: bodewig
Date: Thu Aug 24 12:53:16 2006
New Revision: 434484

URL: http://svn.apache.org/viewvc?rev=434484&view=rev
Log:
copy the core tasks, no changes yet, tests need to be migrated as well

Added:
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/Ildasm.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/ImportTypelib.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/NetCommand.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/NetCommand.java
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/CSharp.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java

ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/DotnetBaseMatchingTask.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetBaseMatchingTask.java

ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/DotnetCompile.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java

ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/DotnetDefine.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetDefine.java

ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/DotnetResource.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetResource.java
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/Ilasm.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/JSharp.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/JSharp.java

ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/VisualBasicCompile.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/VisualBasicCompile.java

ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/WsdlToDotnet.java
  - copied, changed from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java
Modified:
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/antlib.xml

Copied: ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/Ildasm.java 
(from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java)
URL: 
http://svn.apache.org/viewvc/ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/Ildasm.java?p2=ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/Ildasm.java&p1=ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java&r1=434477&r2=434484&rev=434484&view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java
 (original)
+++ ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/Ildasm.java Thu Aug 
24 12:53:16 2006
@@ -14,7 +14,7 @@
  *  limitations under the License.
  *
  */
-package org.apache.tools.ant.taskdefs.optional.dotnet;
+package org.apache.ant.dotnet;
 
 import org.apache.tools.ant.types.EnumeratedAttribute;
 import org.apache.tools.ant.BuildException;

Copied: 
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/ImportTypelib.java 
(from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java)
URL: 
http://svn.apache.org/viewvc/ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/ImportTypelib.java?p2=ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/ImportTypelib.java&p1=ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java&r1=434477&r2=434484&rev=434484&view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java
 (original)
+++ ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/ImportTypelib.java 
Thu Aug 24 12:53:16 2006
@@ -15,7 +15,7 @@
  *
  */
 
-package org.apache.tools.ant.taskdefs.optional.dotnet;
+package org.apache.ant.dotnet;
 
 import org.apache.tools.ant.Task;
 import org.apache.tools.ant.BuildException;

Copied: ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/NetCommand.java 
(from r434477, 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/NetCommand

svn commit: r434477 - in /ant/antlibs/dotnet/trunk/src: main/org/apache/ant/dotnet/ main/org/apache/ant/dotnet/build/ main/org/apache/ant/dotnet/compile/ main/org/apache/ant/dotnet/wix/ testcases/org/

2006-08-24 Thread bodewig
Author: bodewig
Date: Thu Aug 24 12:27:51 2006
New Revision: 434477

URL: http://svn.apache.org/viewvc?rev=434477&view=rev
Log:
Move a few files around

Added:
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/build/

ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/build/AbstractBuildTask.java
  - copied, changed from r430109, 
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/AbstractBuildTask.java

ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/build/MSBuildTask.java
  - copied, changed from r430109, 
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/MSBuildTask.java
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/build/NAntTask.java
  - copied, changed from r430109, 
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/NAntTask.java
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/compile/
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/wix/
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/wix/WixTask.java
  - copied, changed from r430109, 
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/WixTask.java
ant/antlibs/dotnet/trunk/src/testcases/org/apache/ant/dotnet/build/

ant/antlibs/dotnet/trunk/src/testcases/org/apache/ant/dotnet/build/MSBuildTaskTest.java
  - copied, changed from r430109, 
ant/antlibs/dotnet/trunk/src/testcases/org/apache/ant/dotnet/MSBuildTaskTest.java

ant/antlibs/dotnet/trunk/src/testcases/org/apache/ant/dotnet/build/NAntTaskTest.java
  - copied, changed from r430109, 
ant/antlibs/dotnet/trunk/src/testcases/org/apache/ant/dotnet/NAntTaskTest.java
ant/antlibs/dotnet/trunk/src/testcases/org/apache/ant/dotnet/compile/
Removed:

ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/AbstractBuildTask.java
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/MSBuildTask.java
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/NAntTask.java
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/WixTask.java

ant/antlibs/dotnet/trunk/src/testcases/org/apache/ant/dotnet/MSBuildTaskTest.java

ant/antlibs/dotnet/trunk/src/testcases/org/apache/ant/dotnet/NAntTaskTest.java
Modified:
ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/antlib.xml

Modified: ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/antlib.xml
URL: 
http://svn.apache.org/viewvc/ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/antlib.xml?rev=434477&r1=434476&r2=434477&view=diff
==
--- ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/antlib.xml 
(original)
+++ ant/antlibs/dotnet/trunk/src/main/org/apache/ant/dotnet/antlib.xml Thu Aug 
24 12:27:51 2006
@@ -1,6 +1,6 @@
 
 

Re: svn commit: r434226 - in /ant/core/trunk: CONTRIBUTORS WHATSNEW src/main/org/apache/tools/ant/taskdefs/MacroInstance.java

2006-08-24 Thread Stefan Bodewig
On Thu, 24 Aug 2006, Peter Reilly <[EMAIL PROTECTED]> wrote:

> There was a problem with utf8/latin1 encoding
> and auto conversion at one time. The solution
> was to mark the file as binary.

And/or use contributors.xml.  Did you update that one as well?  We
better keep them in sync.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: classloader for 1.7

2006-08-24 Thread Stefan Bodewig
On Fri, 25 Aug 2006, Stephen McConnell <[EMAIL PROTECTED]> wrote:
>> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] 
> 
>> It has been included since 1.6.0 we just never told anybody.  
>> Or is the one you want any different from the classloader 
>> task that is already part of the code base.
> 
> Can you provide a summary of what is in the codebase today - and
> some pointers to the classes in question.

Sure

http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Classloader.java

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: RE: classloader for 1.7

2006-08-24 Thread Stephen McConnell \(DPML\)
 

> -Original Message-
> From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 25 August 2006 3:49 AM
> To: Ant Developers List
> Subject: Re: RE: classloader for 1.7
> 
> Hello Steve,
> 
> the classloader which is in the codebase now is not the one 
> that Peter wants to add.

I understood that.  

I would like to take a quick look at what is in the Ant codebase now and
comparee that with what is being proposed by Peter.

Cheers, Steve.


> 
> His classloader is there :
> 
> (Quoting Peter)
> >The proposed one is totally different.
> >see http://enitsys.sourceforge.net/ant-classloadertask/
> 
> Regards,
> 
> Antoine
>  Original-Nachricht 
> Datum: Fri, 25 Aug 2006 01:50:54 +0930
> Von: "Stephen McConnell \\(DPML\\)" <[EMAIL PROTECTED]>
> An: "\'Ant Developers List\'" 
> Betreff: RE: classloader for 1.7
> 
> >  
> > 
> > > -Original Message-
> > > From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> > 
> > > It has been included since 1.6.0 we just never told anybody.  
> > > Or is the one you want any different from the classloader 
> task that 
> > > is already part of the code base.
> > 
> > Stefan:
> > 
> > Can you provide a summary of what is in the codebase today 
> - and some 
> > pointers to the classes in question.
> > 
> > Cheers, Steve.
> > 
> 
> -
> 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]



Re: RE: classloader for 1.7

2006-08-24 Thread Antoine Levy-Lambert
Hello Steve,

the classloader which is in the codebase now is not the one that Peter wants to 
add.

His classloader is there :

(Quoting Peter)
>The proposed one is totally different.
>see http://enitsys.sourceforge.net/ant-classloadertask/

Regards,

Antoine
 Original-Nachricht 
Datum: Fri, 25 Aug 2006 01:50:54 +0930
Von: "Stephen McConnell \\(DPML\\)" <[EMAIL PROTECTED]>
An: "\'Ant Developers List\'" 
Betreff: RE: classloader for 1.7

>  
> 
> > -Original Message-
> > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] 
> 
> > It has been included since 1.6.0 we just never told anybody.  
> > Or is the one you want any different from the classloader 
> > task that is already part of the code base.
> 
> Stefan:
> 
> Can you provide a summary of what is in the codebase today - and some 
> pointers to the classes in question.
> 
> Cheers, Steve.
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Use of reflection in DirectoryScanner to remove duplicated code

2006-08-24 Thread Matt Benson
--- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:

> 
> On Aug 23, 2006, at 7:26 AM, Kev Jackson wrote:
> 
> > Hi,
> >
> > I want to run this by people here to see what
> people think of  
> > this.  Basically DirectoryScanner has some
> duplicated code  
> > [ accountForIncludedFile, accountForIncludedDir ],
> I think I have a  
> > refactored processIncluded method that can replace
> the duplication,  
> > but it relies on using Reflection to get access to
> the classes  
> > fields and then does the work [1].  I know a lot
> of Java developers  
> > are a little leary about using reflection in
> general as it has a  
> > reputation for being slow and obtuse, so I'd like
> to see what you  
> > guys think before committing something that will
> be veto'd.
> >
> > Thanks,
> > Kev
> >
> > [1]
> Hi Kev,
> 
> I know that code duplication is not nice, but I am
> +0 on this because  
> using reflection makes code analysis tools not do
> their work  
> correctly. If you do for instance a method call
> graph in an IDE,  
> methods called by reflection will not be displayed.
> 
> I prefer code which is more lengthy but readable.
> 
> If we had a solution to remove this duplication by
> using classes/ 
> interfaces I would find it neater.

I am not historically a champion of readability for
its own sake ;) , but in this case I am of the general
impression (without having thoroughly perused the
proposed change) that it should be possible to
eliminate the duplication without resorting to
reflection.  To rephrase, if reflection were (is) the
only way to remove the duplication, I would be +1.  I
am not sure it has been demonstrated that this is the
case, so pending clarification here I would categorize
my stance as -0.

-Matt

> 
> Just my 2 cents.
> 
> Antoine
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: classloader for 1.7

2006-08-24 Thread Stephen McConnell \(DPML\)
 

> -Original Message-
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] 

> It has been included since 1.6.0 we just never told anybody.  
> Or is the one you want any different from the classloader 
> task that is already part of the code base.

Stefan:

Can you provide a summary of what is in the codebase today - and some 
pointers to the classes in question.

Cheers, Steve.

--
Stephen McConnell
mailto:[EMAIL PROTECTED]
http://www.dpml.net
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: classloader for 1.7

2006-08-24 Thread Stephen McConnell \(DPML\)
 

Peter Reilly wrote: 
> Subject: classloader for 1.7
> 
> If it is not a little too late, I would like to get a vote on 
> including classloader into ant 1.7.
> (http://issues.apache.org/bugzilla/show_bug.cgi?id=28228)


I've been reading through the documentation on the proposed classloader
datatype.  My initial reaction was positive and content demonstrates an
understanding of the issues involved - however - the initially good feeling
moved to a bad feeling as I dug deeper into the proposal.

If I have understood things correctly - the classloader datatype provides
support for (a) the creation of classloader based on the supply of parent
classloader identifies and data resolvable to resources urls, and (b)
modification of the state of new and existing classloaders including the
system classloader, the classloader established for Ant (the project
loader), the context classloader and a couple of other variations on the
theme.

In my experience the only time I need to modify a classloader is the special
case of the system classloader - for example a task that requires a class to
be mounted at system level (e.g. URL handler, or XML resolvers, etc.).  For
*all* other cases the creation of a new classloader at the level of a
taskdef is sufficient (although I do recognize that the current taskdef
model does not allow this at a script level).

My primary concern is the introduction of potential modification of the Ant
project classloader state and the impact this can have on classloaders
created as children of the project classloader. For example, if an antlib
developer publishes a task with the intention that the task be loaded in a
classloader created as a child of the Project classloader and another task
developer assumes Project classloader extension for a different tool - then
the classloader structure created by the first developer can be completely
corrupted (e.g. a class added to the Project classloader will be used
instead of a class in a child classloader - thereby destroying the runtime
integrity).

The more I think about this the more I think that we are not dealing with
the potential to "shoot oneself in the foot" - but more probably is the
scenario where we are creating the potential for "stepping on a landmine".

I think that the subjects of system classloader expansion and antlib loading
are valid concerns and need to be addressed - but they need to be address as
integral elements of the antlib task semantics and implementation.

My conclusion is that  proposal should not be included in 1.7.  

Cheers, Steve.

--
Stephen McConnell
mailto:[EMAIL PROTECTED]
http://www.dpml.net
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 40123] - [PATCH] Removing OPTIMIZE_TOKEN_MANAGER from JavaCC task

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40123





--- Additional Comments From [EMAIL PROTECTED]  2006-08-24 14:52 ---
Sounds like this would be, or could be written to be, backward-compatible with
earlier versions of javacc (i.e. whatever the minimum is currently).  In this
case, yes, this sounds desirable.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 40238] - Nested generate class cast exception

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40238


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-08-24 14:09 ---
Opps, forgot to set to fixed.
Peter

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r434226 - in /ant/core/trunk: CONTRIBUTORS WHATSNEW src/main/org/apache/tools/ant/taskdefs/MacroInstance.java

2006-08-24 Thread Peter Reilly

There was a problem with utf8/latin1 encoding
and auto conversion at one time. The solution
was to mark the file as binary.

Peter

On 8/24/06, Martin van den Bemt <[EMAIL PROTECTED]> wrote:


CONTRIBUTORS is marked binary ?

Mvgr,
Martin

[EMAIL PROTECTED] wrote:
> Author: peterreilly
> Date: Wed Aug 23 15:32:36 2006
> New Revision: 434226
>
> URL: http://svn.apache.org/viewvc?rev=434226&view=rev
> Log:
> [PATCH] bugzilla  40238 - nested macrodef
>
> Modified:
> ant/core/trunk/CONTRIBUTORS
> ant/core/trunk/WHATSNEW
>
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java
>
> Modified: ant/core/trunk/CONTRIBUTORS
> URL:
http://svn.apache.org/viewvc/ant/core/trunk/CONTRIBUTORS?rev=434226&r1=434225&r2=434226&view=diff
>
==
> Binary files - no diff available.
>
> Modified: ant/core/trunk/WHATSNEW
> URL:
http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=434226&r1=434225&r2=434226&view=diff
>
==
> --- ant/core/trunk/WHATSNEW (original)
> +++ ant/core/trunk/WHATSNEW Wed Aug 23 15:32:36 2006
> @@ -270,6 +270,9 @@
>  *  has a new adapter, xnew, to use the -XNew back end on java1.5+
.
>By forking rmic, this works on java1.6+. Bugzilla report 38732.
>
> +* Copy of UnknownElement in macroinstance was not recursive.
> +  Bugzilla report 40238.
> +
>  Other changes:
>  --
>
>
> Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java
> URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java?rev=434226&r1=434225&r2=434226&view=diff
>
==
> ---
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java
(original)
> +++
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java Wed
Aug 23 15:32:36 2006
> @@ -291,7 +291,7 @@
>  }
>  for (Iterator i = unknownElements.iterator();
>   i.hasNext();) {
> -UnknownElement child = (UnknownElement) i.next();
> +UnknownElement child = copy((UnknownElement) i.next
());
>  rc.addChild(child.getWrapper());
>  ret.addChild(child);
>  }
> @@ -307,7 +307,7 @@
>  }
>  for (Iterator i = list.iterator();
>   i.hasNext();) {
> -UnknownElement child = (UnknownElement) i.next();
> +UnknownElement child = copy((UnknownElement) i.next
());
>  rc.addChild(child.getWrapper());
>  ret.addChild(child);
>  }
>
>
>
> -
> 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]




DO NOT REPLY [Bug 40238] - Nested generate class cast exception

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40238





--- Additional Comments From [EMAIL PROTECTED]  2006-08-24 13:48 ---
should we then resolve this bug FIXED?

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r434226 - in /ant/core/trunk: CONTRIBUTORS WHATSNEW src/main/org/apache/tools/ant/taskdefs/MacroInstance.java

2006-08-24 Thread Martin van den Bemt

CONTRIBUTORS is marked binary ?

Mvgr,
Martin

[EMAIL PROTECTED] wrote:

Author: peterreilly
Date: Wed Aug 23 15:32:36 2006
New Revision: 434226

URL: http://svn.apache.org/viewvc?rev=434226&view=rev
Log:
[PATCH] bugzilla  40238 - nested macrodef

Modified:
ant/core/trunk/CONTRIBUTORS
ant/core/trunk/WHATSNEW
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java

Modified: ant/core/trunk/CONTRIBUTORS
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/CONTRIBUTORS?rev=434226&r1=434225&r2=434226&view=diff
==
Binary files - no diff available.

Modified: ant/core/trunk/WHATSNEW
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=434226&r1=434225&r2=434226&view=diff
==
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Wed Aug 23 15:32:36 2006
@@ -270,6 +270,9 @@
 *  has a new adapter, xnew, to use the -XNew back end on java1.5+.
   By forking rmic, this works on java1.6+. Bugzilla report 38732.
 
+* Copy of UnknownElement in macroinstance was not recursive.

+  Bugzilla report 40238.
+
 Other changes:
 --
 


Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java?rev=434226&r1=434225&r2=434226&view=diff
==
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java 
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java 
Wed Aug 23 15:32:36 2006
@@ -291,7 +291,7 @@
 }
 for (Iterator i = unknownElements.iterator();
  i.hasNext();) {
-UnknownElement child = (UnknownElement) i.next();
+UnknownElement child = copy((UnknownElement) i.next());
 rc.addChild(child.getWrapper());
 ret.addChild(child);
 }
@@ -307,7 +307,7 @@
 }
 for (Iterator i = list.iterator();
  i.hasNext();) {
-UnknownElement child = (UnknownElement) i.next();
+UnknownElement child = copy((UnknownElement) i.next());
 rc.addChild(child.getWrapper());
 ret.addChild(child);
 }



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



DO NOT REPLY [Bug 40297] - Selectors page badly formatted

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40297


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-08-24 11:52 ---
Hi this is already fixed in SVN.
Thanks for the report.


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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 40291] - classpath uses colon, ":", as path separator under windows

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40291


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-08-24 11:31 ---
Ok, I have figured it out (I think)
run.classpath is a property set by netbeans.
It is ':' seperated.
One can convert this to native seperation by:





${run.classpath.converted}
This is still a string and thus will have issues with spaces
etc.


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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 40291] - classpath uses colon, ":", as path separator under windows

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40291


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2006-08-24 10:58 ---
Where is "run.classpath" set ?
It is not set in the build file or the netbeans file.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Use of reflection in DirectoryScanner to remove duplicated code

2006-08-24 Thread Antoine Levy-Lambert


On Aug 24, 2006, at 7:13 AM, Kev Jackson wrote:

Antoine has mentioned that he would prefer not to use reflection  
for the

simple reason that some tools cannot show the method graph - in this
particular case I can't see that being a problem as no methods are
called using reflection, I'm only using it to gain access to fields.


OK. Actually I had written the pieces of code which you are  
refactoring. :(


Regards,

Antoine


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 40291] - classpath uses colon, ":", as path separator under windows

2006-08-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40291





--- Additional Comments From [EMAIL PROTECTED]  2006-08-24 10:12 ---
>As for a
>programmer using a literal instead of the symbolic parameter, they should be
>shot (nb, I had to convert a large Java app that used "\" in file names to run
>on linux -- it ain't fun when it could have been done right to begin with).

Arguably its a fault in the java runtime for not doing the conversion for us.
After all, in C/C++ code on windows, you can still go #include
"../dir/something.h" and have it handled properly.

In an ant build file, you can normally use either definition and get away with
it, because nobody wants to go



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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: Ant 1.7 - ReleaseInstructions - Compiler

2006-08-24 Thread Antoine Levy-Lambert


Hello Jan,

Ant 1.6 was compiled using 1.4

For the sake of simplicity I will try to build Ant 1.7 with 1.5  
because we have 2 classes which use 1.5 APIs.



Regards,

Antoine

On Aug 24, 2006, at 10:02 AM, <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]> wrote:


We say to need Java 1.2 - any class format changes between 1.2 and  
1.4?

I would feel more safe to do a compile run on 1.2 


Jan




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project svn-antlib-test (in module ant-antlibs) failed

2006-08-24 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 [EMAIL PROTECTED]

Project svn-antlib-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 46 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- svn-antlib-test :  Task and Type Libraries for Apache Ant


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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on ant-testutil exists, no need to add for property 
ant-testutil.jar.
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/ant-antlibs/svn-antlib-test/gump_work/build_ant-antlibs_svn-antlib-test.html
Work Name: build_ant-antlibs_svn-antlib-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 mins 19 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Dant-testutil.jar=/usr/local/gump/public/workspace/ant/build/lib/ant-testutil.jar
 test 
[Working Directory: /usr/local/gump/public/workspace/ant-antlibs/svn]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant-antlibs/svn/build/test-classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-testutil.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/ant-antlibs/svn/build/ant-svn-24082006.jar
-
[junit] at java.lang.reflect.Method.invoke(Method.java:585)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
[junit] at junit.framework.TestResult.run(TestResult.java:113)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:228)
[junit] at junit.framework.TestSuite.run(TestSuite.java:223)
[junit] at 
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
[junit] at 
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:361)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:809)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:648)

[junit] Testcase: testDiffWithImplicitTrunk took 55.018 sec
[junit] FAILED
[junit] null
[junit] junit.framework.AssertionFailedError: null
[junit] at junit.framework.Assert.fail(Assert.java:47)
[junit] at junit.framework.Assert.assertTrue(Assert.java:20)
[junit] at junit.framework.Assert.assertTrue(Assert.java:27)
[junit] at 
org.apache.ant.svn.SvnTagDiffTest.assertModified(SvnTagDiffTest.java:109)
[junit] at 
org.apache.ant.svn.SvnTagDiffTest.assertDiffWithTrunk(SvnTagDiffTest.java:62)
[junit] at 
org.apache.ant.svn.SvnTagDiffTest.testDiffWithImplicitTrunk(SvnTagDiffTest.java:56)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:585)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
[jun

AW: svn commit: r432588 - /ant/core/trunk/docs/manual/CoreTasks/defaultexcludes.html

2006-08-24 Thread Jan.Materne
Thanks

Jan 

>/ant/core/trunk/docs/manual/CoreTasks/defaultexcludes.html
>
>Log:
>correct typo and translate a German article to the English 
>equivalent. ;)
>
> Notes
>-By default the pattern **/.svn ane **/.svn/** are
set as default 
>+By default the pattern **/.svn and **/.svn/** are
set 
>+as default

>-That means, that die svn-libraries evaluate environment variables and
use .svn 
>+That means, that the svn-libraries evaluate environment variables and 
>+use .svn

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Ant 1.7 - ReleaseInstructions - Compiler

2006-08-24 Thread Jan.Materne
We say to need Java 1.2 - any class format changes between 1.2 and 1.4?
I would feel more safe to do a compile run on 1.2 


Jan

>-Ursprüngliche Nachricht-
>Von: Kev Jackson [mailto:[EMAIL PROTECTED] 
>Gesendet: Dienstag, 22. August 2006 02:29
>An: Ant Developers List
>Betreff: Re: Ant 1.7 - ReleaseInstructions - Compiler
>
>
>On 21 Aug 2006, at 21:19, Antoine Levy-Lambert wrote:
>
>> Hello Kev,
>>
>> when you built the alpha version of ant 1.7, which compiler did you 
>> use ? 1.4 or 1.5 ?
>>
>I used the default compiler, which at the moment is 1.5
>
>Kev
>--
>"I call it the State where everyone, good or bad, is a poison-
>drinker: the State where universal slow suicide is called - 
>life" - Friedrich Nietzsche
>
>
>-
>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]



AW: release message for the beta

2006-08-24 Thread Jan.Materne
>I would write :


  Ant 1.7 introduces a resource framework. Some of the core ant 
  tasks such as  are now able to process not only file 
- system resources but also zip entries, tar entries, ... 
+ system resources but also zip entries, tar entries, paths, ... 
  Resource collections group resources, and can be further 
  combined with operators such as union and intersection. This 
  can be extended by custom resources and custom tasks using resources.

+ Ant 1.7 starts outsourcing of optional tasks to Antlibs. The first
+ tasks which are outsourced are @LIST_OF_TASKS to the Antlibs
+ .NET, SVN, ...

  Ant 1.7 fixes also a large number of bugs.

+ Ant 1.7 has no support for Java6 features, but first tests on Java6 
+ did not fail.



Jan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]