DO NOT REPLY [Bug 25345] New: - jspc tag broken with new version of jasper

2003-12-08 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=25345

jspc tag broken with new version of jasper

   Summary: jspc tag broken with new version of jasper
   Product: Ant
   Version: 1.5.4
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Optional Tasks
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The jspc tag no longer works with the version of jasper that comes bundled with 
tomcat v5.0.16 (as opposed to tomcat v4.1.29, which works).  The problem is 
that this newer version of jasper has changed the "verbose" command-line option 
so it no longer accepts an optional number.  Because the jspc tag passes in a 
zero as the default value for the verbose param, the jspc action fails with the 
following error:
error:org.apache.jasper.JasperException: Unrecognized option: -v0

A quick fix would be to remove the default of zero.

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



DO NOT REPLY [Bug 25274] - [PATCH] Docs for should mention that JDK 1.4 includes an XSLT processor

2003-12-08 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=25274

[PATCH] Docs for  should mention that JDK 1.4 includes an XSLT processor

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-12-08 23:02 ---
patch submitted, message made even clearer.
Thanks for your contribution, Antoine.

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



cvs commit: ant/docs/manual install.html

2003-12-08 Thread antoine
antoine 2003/12/08 15:01:52

  Modified:docs/manual/CoreTasks Tag: ANT_16_BRANCH style.html
   docs/manual Tag: ANT_16_BRANCH install.html
  Log:
  Merge from HEAD
  Improve documentation concerning external libs for the style task.
  Basically no external libs are required if using JDK 1.4
  PR: 25274
  Submitted by: Jesse Glick (jglick at netbeans dot org)
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.29.2.2  +3 -2  ant/docs/manual/CoreTasks/style.html
  
  Index: style.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/style.html,v
  retrieving revision 1.29.2.1
  retrieving revision 1.29.2.2
  diff -u -r1.29.2.1 -r1.29.2.2
  --- style.html9 Oct 2003 21:01:06 -   1.29.2.1
  +++ style.html8 Dec 2003 23:01:52 -   1.29.2.2
  @@ -13,8 +13,9 @@
   Process a set of documents via XSLT.
   This is useful for building views of XML based documentation,
   or for generating code.
  -Note: This task depends on external libraries not included in the 
Ant distribution.
  -See Library Dependencies 
for more information.
  +Note: If you are using JDK 1.4 or higher, this task does not 
require external libraries
  +not supplied in the Ant distribution. Otherwise,
  +see Library Dependencies 
for more information.
   It is possible to refine the set of files that are being processed. This 
can be
   done with the includes, includesfile, excludes, 
excludesfile and defaultexcludes
   attributes. With the includes or includesfile attribute you 
specify the files you want to
  
  
  
  No   revision
  No   revision
  1.59.2.5  +7 -4  ant/docs/manual/install.html
  
  Index: install.html
  ===
  RCS file: /home/cvs/ant/docs/manual/install.html,v
  retrieving revision 1.59.2.4
  retrieving revision 1.59.2.5
  diff -u -r1.59.2.4 -r1.59.2.5
  --- install.html  28 Nov 2003 09:04:56 -  1.59.2.4
  +++ install.html  8 Dec 2003 23:01:52 -   1.59.2.5
  @@ -284,11 +284,14 @@
 
   An XSL transformer like Xalan or XSL:P
   style task
  -http://xml.apache.org/xalan-j/index.html";
  -target="_top">http://xml.apache.org/xalan-j/index.html for Xalan.
  -XSL:P used to live at http://www.clc-marketing.com/xslp/";
  +
  +If you use JDK 1.4, an XSL transformer is already included, so you 
need not do anything special.
  +XALAN : http://xml.apache.org/xalan-j/index.html";
  +target="_top">http://xml.apache.org/xalan-j/index.html
  +XSL:P : used to live at http://www.clc-marketing.com/xslp/";
   target="_top">http://www.clc-marketing.com/xslp/, but the link
  -doesn't work any longer and we are not aware of a replacement site.
  +doesn't work any longer and we are not aware of a replacement 
site.
  +
 
 
   jakarta-regexp-1.3.jar
  
  
  

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



cvs commit: ant/docs/manual install.html

2003-12-08 Thread antoine
antoine 2003/12/08 14:59:54

  Modified:docs/manual/CoreTasks style.html
   docs/manual install.html
  Log:
  Improve documentation concerning external libs for the style task.
  Basically no external libs are required if using JDK 1.4
  PR: 25274
  Submitted by: Jesse Glick (jglick at netbeans dot org)
  
  Revision  ChangesPath
  1.30  +3 -2  ant/docs/manual/CoreTasks/style.html
  
  Index: style.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/style.html,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- style.html5 Aug 2003 16:01:10 -   1.29
  +++ style.html8 Dec 2003 22:59:53 -   1.30
  @@ -12,8 +12,9 @@
   Process a set of documents via XSLT.
   This is useful for building views of XML based documentation,
   or for generating code.
  -Note: This task depends on external libraries not included in the 
Ant distribution.
  -See Library Dependencies 
for more information.
  +Note: If you are using JDK 1.4 or higher, this task does not 
require external libraries
  +not supplied in the Ant distribution. Otherwise,
  +see Library Dependencies 
for more information.
   It is possible to refine the set of files that are being processed. This 
can be
   done with the includes, includesfile, excludes, 
excludesfile and defaultexcludes
   attributes. With the includes or includesfile attribute you 
specify the files you want to
  
  
  
  1.63  +7 -4  ant/docs/manual/install.html
  
  Index: install.html
  ===
  RCS file: /home/cvs/ant/docs/manual/install.html,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- install.html  28 Nov 2003 09:01:36 -  1.62
  +++ install.html  8 Dec 2003 22:59:54 -   1.63
  @@ -283,11 +283,14 @@
 
   An XSL transformer like Xalan or XSL:P
   style task
  -http://xml.apache.org/xalan-j/index.html";
  -target="_top">http://xml.apache.org/xalan-j/index.html for Xalan.
  -XSL:P used to live at http://www.clc-marketing.com/xslp/";
  +
  +If you use JDK 1.4, an XSL transformer is already included, so you 
need not do anything special.
  +XALAN : http://xml.apache.org/xalan-j/index.html";
  +target="_top">http://xml.apache.org/xalan-j/index.html
  +XSL:P : used to live at http://www.clc-marketing.com/xslp/";
   target="_top">http://www.clc-marketing.com/xslp/, but the link
  -doesn't work any longer and we are not aware of a replacement site.
  +doesn't work any longer and we are not aware of a replacement 
site.
  +
 
 
   jakarta-regexp-1.3.jar
  
  
  

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



AW: bug fixes!! WAS: ant 1.6beta3 released

2003-12-08 Thread Antoine Lévy-Lambert
Hi Filip,

it is good that you show up.

I would suggest that you do the following for each of your fixes :
- check that your problems are not already fixed in ant1.6beta3
- open a bugrep in bugzilla for each problem, and attach your patch there
- if you are worried that your changes are not going to be committed fast
enough,
create bugreps for the 2 highest priority problems first, see how it goes,
and then enter the rest.

I find it good that you add Fileset support to cvs, actually, it is a
surprise that this does not exist yet.
Why does it only work one directory deep ?

Concerning scp and ftp, if your patches are of good quality, this should be
no problem. By the way, I fixed one NPE in ftp between ant1.6beta2 and
ant1.6beta3 (bugrep 24440). I have seen that you have opened a bugrep 25032.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25032

Concerning unjar, the jar entry beginning with / is not very much in the
typical fileset philosophy of ant. Your patch should unjar to /file.txt to
dest/file.txt only if a new attribute "acceptrootfiles" or something like
this is set to yes. Here again other committers might see it differently.

Concerning main, if you are embedding ant, you could write this type of code
snippet :
public class testregexp {
public static void main (String [] argv){
Diagnostics.validateVersion();
//String filename="/dev/testant/build.xml";
String filename="/dev/testant/regexp.xml";
StringBuffer logBuffer;
StringBuffer fullLogBuffer;
Project project=new Project();
logBuffer = new StringBuffer();
fullLogBuffer = new StringBuffer();
project = new Project();
project.init();
project.setUserProperty( "ant.file" , new
File(filename).getAbsolutePath() );
ProjectHelper.configureProject(project, new File(filename));
project.addBuildListener(createLogger());
//project.executeTarget("cleanup");
project.executeTarget("filter");
}
private static BuildLogger createLogger() {
BuildLogger logger = null;
logger = new DefaultLogger();
logger.setMessageOutputLevel(Project.MSG_VERBOSE);
logger.setOutputPrintStream(System.out);
logger.setErrorPrintStream(System.err);
logger.setEmacsMode(false);

return logger;
}
}
I am not too keen on adding one more command line option to Main. (but this
is just me, the other committers might think differently)


Cheers,

Antoine


-Ursprüngliche Nachricht-
Von: Filip Hanik [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 8. Dezember 2003 22:29
An: Ant Developers List
Betreff: bug fixes!! WAS: ant 1.6beta3 released


I have fixes for the following tasks:

1. SCP - this task hangs on large file transfers, I have added in a batch
size which issues new SCP command for each X tasks. This allows me to
transfer over 2000 files between our servers.

2. CVS - the line "cvs add *" doesn't work, I have added in 
element to CVS which allows you to add files to the command line for all
commands, works with update delete add etc, only one level deep directory

3. FTP - I have a file parser for Windows FTP servers, modified the FTP task
to take a parameter for which OS the FTP server is. Even better would be if
it could auto detect. Also fixed nullpointer bug if the remote directory
doesn't contain any files and a ls is issued.

4. Main, changed it so that it wouldn't issue a System.exit if a flag is
passed in, this is necessary for us since we are launching ant embedded and
don't want to install an additional security manager.

5. Unzip,unjar currently doesn't work when the file listing is "/file.txt"
inside the jar.
Even if you give the unjar command a destination directory, it tries to save
the file in the root directory.
I fixed this as well!

I have fixes for all of these. Since it is gonna take me about 2 hours to
create PATCH files, I wanted to check in with the developers here that if I
spend the time, this will get committed.

thanks
Filip





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



bug fixes!! WAS: ant 1.6beta3 released

2003-12-08 Thread Filip Hanik
I have fixes for the following tasks:

1. SCP - this task hangs on large file transfers, I have added in a batch
size which issues new SCP command for each X tasks. This allows me to
transfer over 2000 files between our servers.

2. CVS - the line "cvs add *" doesn't work, I have added in 
element to CVS which allows you to add files to the command line for all
commands, works with update delete add etc, only one level deep directory

3. FTP - I have a file parser for Windows FTP servers, modified the FTP task
to take a parameter for which OS the FTP server is. Even better would be if
it could auto detect. Also fixed nullpointer bug if the remote directory
doesn't contain any files and a ls is issued.

4. Main, changed it so that it wouldn't issue a System.exit if a flag is
passed in, this is necessary for us since we are launching ant embedded and
don't want to install an additional security manager.

5. Unzip,unjar currently doesn't work when the file listing is "/file.txt"
inside the jar.
Even if you give the unjar command a destination directory, it tries to save
the file in the root directory.
I fixed this as well!

I have fixes for all of these. Since it is gonna take me about 2 hours to
create PATCH files, I wanted to check in with the developers here that if I
spend the time, this will get committed.

thanks
Filip


-Original Message-
From: Antoine Lévy-Lambert [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 1:05 PM
To: Ant Developers List
Subject: AW: ant 1.6beta3 released


Hi Alexey,

do you have some particular bugs in mind which you would like to see fixed
before the release ?

Contributions to fix the open bugs in Bugzilla are welcome.

Then depending on committer energy, and whether the changes are not too
radical, some further bug fixes might make their way into ant 1.6.

I am sure that there will be too a 1.6.1 and a 1.6.2 ...

I do not see any reason why we should wait another year after that to create
1.7.

But for the time being, I hope we can get 1.6 out before the end of 2003.
Open bugs which do not require structural changes in the API or in our way
of thinking should be no problem to fix in minor releases.

Cheers,

Antoine



-Ursprüngliche Nachricht-
Von: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 8. Dezember 2003 20:10
An: Ant Developers List
Betreff: Re: ant 1.6beta3 released


.NET tasks documentation is still not fixed (24058
). There are
other bugs that would be good to fix before 1.6 release. Are they going
to be fixed before the release?

- Alexey.

Antoine Lévy-Lambert wrote:

>Hi Ant developers and users,
>
>I have the pleasure to say that ant1.6beta3 is available for download from
:
>
>http://cvs.apache.org/dist/ant/v1.6beta3
>
>We hope to be able to make the final release before the end of 2003.
>
>Cheers,
>
>Antoine
>
>
>
>


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



Need help including empty directories in WAR task (or Zip/JAR/TAR)

2003-12-08 Thread Jeremy Nix
I've been trying to figure out how to include an empty directory into a
fileset based task for months now.  I have an immediate need to include
empty directories in my build process that will hold log files,
generated files, etc...  I've tried simple pattern matching in the WAR
task with the fileset tag, with no luck.  I've tried creating the WAR
directory structure myself and zipping the directory, but that didn't
work either.  I'm using Ant v.1.5.4 (with Eclipse 3.0m5) and JDK
1.4.1_01.  Is there anyway to accomplish this?


_
Jeremy Nix
Southwest Financial Services, LTD.
[EMAIL PROTECTED]
(513) 621-6699 ext.1158


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



AW: ant 1.6beta3 released

2003-12-08 Thread Antoine Lévy-Lambert
Hi Alexey,

do you have some particular bugs in mind which you would like to see fixed
before the release ?

Contributions to fix the open bugs in Bugzilla are welcome.

Then depending on committer energy, and whether the changes are not too
radical, some further bug fixes might make their way into ant 1.6.

I am sure that there will be too a 1.6.1 and a 1.6.2 ...

I do not see any reason why we should wait another year after that to create
1.7.

But for the time being, I hope we can get 1.6 out before the end of 2003.
Open bugs which do not require structural changes in the API or in our way
of thinking should be no problem to fix in minor releases.

Cheers,

Antoine



-Ursprüngliche Nachricht-
Von: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 8. Dezember 2003 20:10
An: Ant Developers List
Betreff: Re: ant 1.6beta3 released


.NET tasks documentation is still not fixed (24058
). There are
other bugs that would be good to fix before 1.6 release. Are they going
to be fixed before the release?

- Alexey.

Antoine Lévy-Lambert wrote:

>Hi Ant developers and users,
>
>I have the pleasure to say that ant1.6beta3 is available for download from
:
>
>http://cvs.apache.org/dist/ant/v1.6beta3
>
>We hope to be able to make the final release before the end of 2003.
>
>Cheers,
>
>Antoine
>
>
>
>


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



DO NOT REPLY [Bug 25339] New: - javadoc task excludes packages with only package.html

2003-12-08 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=25339

javadoc task excludes packages with only package.html

   Summary: javadoc task excludes packages with only package.html
   Product: Ant
   Version: 1.5.3
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Optional Tasks
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The javadoc task in 1.5.3 and 1.6beta3 both only pass pacakges to javadoc if
they contain .java files. It seems that they should include packages with only
package.html files as well. Does this seem reasonable?

Note that javadoc only includes these package.htmls if somewhere in the packages
below them at least one java file exists.

Here's a patch...

Index: main/org/apache/tools/ant/taskdefs/Javadoc.java
===
RCS file:
/apps/cvs/repos/ga_repos/Dovetail/bin/ant-1.5.3/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v
retrieving revision 1.1.1.1
diff -u -b -w -r1.1.1.1 Javadoc.java
--- main/org/apache/tools/ant/taskdefs/Javadoc.java 6 Jun 2003 22:07:28 
-
1.1.1.1
+++ main/org/apache/tools/ant/taskdefs/Javadoc.java 8 Dec 2003 20:41:19 
-
@@ -1948,7 +1948,7 @@
 File pd = new File(baseDir, dirs[i]);
 String[] files = pd.list(new FilenameFilter () {
 public boolean accept(File dir1, String name) {
-if (name.endsWith(".java")) {
+if (name.endsWith(".java") ||
name.equals("package.html")) {
 return true;
 }
 return false;// ignore dirs

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



DO NOT REPLY [Bug 24058] - task is documented as (without 'c' at the end)

2003-12-08 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=24058

 task is documented as  (without 'c' at the end)

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |1.6



--- Additional Comments From [EMAIL PROTECTED]  2003-12-08 20:17 ---
Thanks Alexey for reporting the bug, sorry that it took us some time to react.
Cheers,
Antoine

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



cvs commit: ant/docs/manual/OptionalTasks jsharp.html

2003-12-08 Thread antoine
antoine 2003/12/08 12:16:07

  Removed: docs/manual/OptionalTasks Tag: ANT_16_BRANCH jsharp.html
  Log:
  Ooops, had not removed the old version
  PR: 24058

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



cvs commit: ant/docs/manual/OptionalTasks jsharpc.html dotnet.html

2003-12-08 Thread antoine
antoine 2003/12/08 12:14:38

  Modified:docs/manual/OptionalTasks Tag: ANT_16_BRANCH dotnet.html
  Added:   docs/manual/OptionalTasks Tag: ANT_16_BRANCH jsharpc.html
  Log:
  Merge from HEAD
  jsharpc is not jsharp (documentation correction)
  PR: 24058
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.10.2.5  +5 -5  ant/docs/manual/OptionalTasks/dotnet.html
  
  Index: dotnet.html
  ===
  RCS file: /home/cvs/ant/docs/manual/OptionalTasks/dotnet.html,v
  retrieving revision 1.10.2.4
  retrieving revision 1.10.2.5
  diff -u -r1.10.2.4 -r1.10.2.5
  --- dotnet.html   9 Oct 2003 21:01:11 -   1.10.2.4
  +++ dotnet.html   8 Dec 2003 20:14:38 -   1.10.2.5
  @@ -77,7 +77,7 @@
 
   
   
  -  jsharp
  +  jsharpc
 Compiles J# files
 
   
  @@ -114,7 +114,7 @@
   
   
   vbc task
  -jsharp task
  +jsharpc task
   mono support
   ilasm
   tlbimport
  @@ -124,7 +124,7 @@
   implicit fileset is disabled
   
   
  -The compile tasks: vbc, jsharp, and csc, all contain lots of common code
  +The compile tasks: vbc, jsharpc, and csc, all contain lots of common code
   in a shared base class: if you can use one you should be able to use
   another. 
   
  @@ -186,7 +186,7 @@
   
   
   vbc task
  -jsharp task
  +jsharpc task
   mono support
   ilasm
   tlbimport
  @@ -196,7 +196,7 @@
   implicit fileset is disabled
   
   
  -The compile tasks: vbc, jsharp, and csc, all contain lots of common code
  +The compile tasks: vbc, jsharpc, and csc, all contain lots of common code
   in a shared base class: if you can use one you should be able to use
   another. 
   
  
  
  
  No   revision
  
  Index: dotnet.html
  ===
  RCS file: /home/cvs/ant/docs/manual/OptionalTasks/dotnet.html,v
  retrieving revision 1.10.2.4
  retrieving revision 1.10.2.5
  diff -u -r1.10.2.4 -r1.10.2.5
  --- dotnet.html   9 Oct 2003 21:01:11 -   1.10.2.4
  +++ dotnet.html   8 Dec 2003 20:14:38 -   1.10.2.5
  @@ -77,7 +77,7 @@
 
   
   
  -  jsharp
  +  jsharpc
 Compiles J# files
 
   
  @@ -114,7 +114,7 @@
   
   
   vbc task
  -jsharp task
  +jsharpc task
   mono support
   ilasm
   tlbimport
  @@ -124,7 +124,7 @@
   implicit fileset is disabled
   
   
  -The compile tasks: vbc, jsharp, and csc, all contain lots of common code
  +The compile tasks: vbc, jsharpc, and csc, all contain lots of common code
   in a shared base class: if you can use one you should be able to use
   another. 
   
  @@ -186,7 +186,7 @@
   
   
   vbc task
  -jsharp task
  +jsharpc task
   mono support
   ilasm
   tlbimport
  @@ -196,7 +196,7 @@
   implicit fileset is disabled
   
   
  -The compile tasks: vbc, jsharp, and csc, all contain lots of common code
  +The compile tasks: vbc, jsharpc, and csc, all contain lots of common code
   in a shared base class: if you can use one you should be able to use
   another. 
   
  
  
  
  No   revision
  
  Index: dotnet.html
  ===
  RCS file: /home/cvs/ant/docs/manual/OptionalTasks/dotnet.html,v
  retrieving revision 1.10.2.4
  retrieving revision 1.10.2.5
  diff -u -r1.10.2.4 -r1.10.2.5
  --- dotnet.html   9 Oct 2003 21:01:11 -   1.10.2.4
  +++ dotnet.html   8 Dec 2003 20:14:38 -   1.10.2.5
  @@ -77,7 +77,7 @@
 
   
   
  -  jsharp
  +  jsharpc
 Compiles J# files
 
   
  @@ -114,7 +114,7 @@
   
   
   vbc task
  -jsharp task
  +jsharpc task
   mono support
   ilasm
   tlbimport
  @@ -124,7 +124,7 @@
   implicit fileset is disabled
   
   
  -The compile tasks: vbc, jsharp, and csc, all contain lots of common code
  +The compile tasks: vbc, jsharpc, and csc, all contain lots of common code
   in a shared base class: if you can use one you should be able to use
   another. 
   
  @@ -186,7 +186,7 @@
   
   
   vbc task
  -jsharp task
  +jsharpc task
   mono support
   ilasm
   tlbimport
  @@ -196,7 +196,7 @@
   implicit fileset is disabled
   
   
  -The compile tasks: vbc, jsharp, and csc, all contain lots of common code
  +The compile tasks: vbc, jsharpc, and csc, all contain lots of common code
   in a shared base class: if you can use one you should be able to use
   another. 
   
  
  
  
  1.1.2.1   +1 -0  ant/docs/manual/OptionalTasks/jsharpc.html
  
  Index: jsharpc.html
  ===
  RCS file: /home/cvs/ant/docs/manual/OptionalTasks/jsharpc.html,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- jsharpc.html  8 Dec 2003 20:05:06 -   1.1
  +++ jsharpc.html  8 Dec 2003 20:14:38 -   1.1.2.1
  @@ -4,6 +4,7 @@
 
 Jsharpc
Task
  +
   
   
   

cvs commit: ant/docs/manual/OptionalTasks jsharpc.html dotnet.html jsharp.html

2003-12-08 Thread antoine
antoine 2003/12/08 12:05:06

  Modified:docs/manual/OptionalTasks dotnet.html
  Added:   docs/manual/OptionalTasks jsharpc.html
  Removed: docs/manual/OptionalTasks jsharp.html
  Log:
  Document jsharpc, not jsharp
  PR: 24058
  
  Revision  ChangesPath
  1.14  +5 -5  ant/docs/manual/OptionalTasks/dotnet.html
  
  Index: dotnet.html
  ===
  RCS file: /home/cvs/ant/docs/manual/OptionalTasks/dotnet.html,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- dotnet.html   24 Sep 2003 00:56:45 -  1.13
  +++ dotnet.html   8 Dec 2003 20:05:06 -   1.14
  @@ -78,7 +78,7 @@
 
   
   
  -  jsharp
  +  jsharpc
 Compiles J# files
 
   
  @@ -115,7 +115,7 @@
   
   
   vbc task
  -jsharp task
  +jsharpc task
   mono support
   ilasm
   tlbimport
  @@ -125,7 +125,7 @@
   implicit fileset is disabled
   
   
  -The compile tasks: vbc, jsharp, and csc, all contain lots of common code
  +The compile tasks: vbc, jsharpc, and csc, all contain lots of common code
   in a shared base class: if you can use one you should be able to use
   another. 
   
  @@ -187,7 +187,7 @@
   
   
   vbc task
  -jsharp task
  +jsharpc task
   mono support
   ilasm
   tlbimport
  @@ -197,7 +197,7 @@
   implicit fileset is disabled
   
   
  -The compile tasks: vbc, jsharp, and csc, all contain lots of common code
  +The compile tasks: vbc, jsharpc, and csc, all contain lots of common code
   in a shared base class: if you can use one you should be able to use
   another. 
   
  
  
  
  1.1  ant/docs/manual/OptionalTasks/jsharpc.html
  
  Index: jsharpc.html
  ===
  
  
  

Jsharpc
   Task
  
  
  
  
  
  


  


  Jsharpc
   Task
  Compile J# source down 
to a managed .NET application.


  
  http://ant.apache.org/";>

  


  

  


  
  

  
  
 
  

  

Description

  

  Compile J# source down to a managed .NET application.  J# is not 
Java. But it is the language closest to Java in the .NET framework. This task 
compiles jsharp source (.java files), and generates a .NET managed exe or dll. 


  
  
  
  
  
  
 

  

Parameters


  

  
Attribute
  
  
Description
  
  
Type
  
  
Requirement
  

  
  
  
  
  
  
additionalmodules
  
  
Semicolon separated list of modules to refer 
to.
  
  
String
  
  
Optional
  
  
  
  
  
baseaddress
  
  

  
  
String
  
  
  
  
  
debug
  
  
set 
the debug flag on or off.
  
  
boolean
  
  
  
  
  
destdir
  
  
Set 
the destination directory of files to be compiled.
  
  
File
  
  
  
  
  
destfile
  
  
Set 
the name of exe/library to create.
  
  
File
  
  
  
  
  
executable
  
  
set 
the name of the program, overriding the defaults. Can be used to set the full 
path to a program, or to switch to an alternate implementation of the command, 
such as the Mono or Rotor versions -provided they use the same command line 
arguments as the .NET framework edition
  
  
String
  
  
  
  
  
extraoptions
  
  
Any 
extra options which are not explicitly supported by this task.
  
  
String
  
  
  
  
  
failonerror
  
  
If 
true, fail on compilation errors.
  
  
boolean
  
  
  
  
  
includedefaultreferences
  
  
If 
true, automatically includes the common assemblies in dotnet, and tells the 
compiler to link in mscore.dll. set the automatic reference inclusion flag on 
or off this flag controls the /nostdlib option in CSC
  
  
boolean
  
  
  
  

Re: ant 1.6beta3 released

2003-12-08 Thread Alexey N. Solofnenko
.NET tasks documentation is still not fixed (24058 
). There are 
other bugs that would be good to fix before 1.6 release. Are they going 
to be fixed before the release?

- Alexey.
Antoine Lévy-Lambert wrote:
Hi Ant developers and users,
I have the pleasure to say that ant1.6beta3 is available for download from :
http://cvs.apache.org/dist/ant/v1.6beta3
We hope to be able to make the final release before the end of 2003.
Cheers,
Antoine

-
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 25327] New: - Forked VMs != forking VM, breaking script portability

2003-12-08 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=25327

Forked VMs != forking VM, breaking script portability

   Summary: Forked VMs != forking VM, breaking script portability
   Product: Ant
   Version: 1.6Beta
  Platform: All
   URL: http://gump.covalent.com/log/ws-axis-test.html
OS/Version: All
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


If a user (e.g. Gump, or whatever) selects a Java VM (perhaps a certain 
instance), or sets system properties (e.g. java.awt.headless, or 
bootclasspath ), forked VMs don't match this. As such, scripts can fail based 
upon the default environment (which gives the new forked Ant VM).

I can see this in three parts:

1) JVM instance (this might just have to be left to the OS path)
2) Classpaths (ought bootclasspath be expressed here, or ought we use endorsded)
3) System properties (default behaviour ought be to clone all).

I believe that this is a JVM problem (it ought allow a 'fork'), and I wonder if 
others have solved it & ant could borrow that.

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



jspc task error

2003-12-08 Thread Edson Alves Pereira
  Hello folks, i´ve just create this snapshot:





 



  And the code above produces this error:

compilarPaginasJSP:
 [jspc] Compiling 26 source filesD:\tmp\osctrl-app\jsp\org\apache\jsp
  [jasperc] 2003-12-08 11:35:15 - uriRoot implicitly set to
"D:\desenv\osctrl\sr
c"
  [jasperc] 2003-12-08 11:35:16 - ERROR-the file
'\jsp\alteracaoUsuarioNovo.jsp'
 generated the following general exception: java.lang.NullPointerException
  [jasperc] error:org.apache.jasper.JasperException: Error compiling
\jsp\altera
caoUsuarioNovo.jsp
  [jasperc] at org.apache.jasper.JspC.processFile(JspC.java:596)
  [jasperc] at org.apache.jasper.JspC.execute(JspC.java:801)
  [jasperc] at org.apache.jasper.JspC.main(JspC.java:823)


  If i write this in my terminal, every thing goes right.

$java org.apache.jasper.JspC -dd /tmp/osctrl-app/jsp -p org.apache.jsp
-webapp /usr/local/apachegroup/tomcat4.1.24/webapps/osctrl-app -compile

  Any idea? Is this a bug? Should I take its code and fixed?

  Best regards,
  Edson


DO NOT REPLY [Bug 25258] - System.in closed by

2003-12-08 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=25258

System.in closed by 

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-12-08 02:27 ---
Fair enough. I've documented this. Will be in the final release.

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



cvs commit: ant/docs/manual/CoreTasks exec.html java.html

2003-12-08 Thread conor
conor   2003/12/07 18:27:15

  Modified:docs/manual/CoreTasks exec.html java.html
  Log:
  Merge
  
  Revision  ChangesPath
  1.37  +21 -19ant/docs/manual/CoreTasks/exec.html
  
  Index: exec.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/exec.html,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -w -u -r1.36 -r1.37
  --- exec.html 13 Oct 2003 13:08:52 -  1.36
  +++ exec.html 8 Dec 2003 02:27:14 -   1.37
  @@ -14,7 +14,9 @@
   systems.
   
   Note that you cannot interact with the forked program, the only way
  -to send input to it is via the input and inputstring attributes.
  +to send input to it is via the input and inputstring attributes. Also note 
that
  +in Ant 1.6, any attempt to read input in the forked program will receive an
  +EOF (-1). This is a change from Ant 1.5, where such an attempt would 
block.
   
   Cygwin Users
   In general the  task will not understand paths such as 
/bin/sh for 
  
  
  
  1.26  +24 -22ant/docs/manual/CoreTasks/java.html
  
  Index: java.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/java.html,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -w -u -r1.25 -r1.26
  --- java.html 13 Oct 2003 13:08:52 -  1.25
  +++ java.html 8 Dec 2003 02:27:14 -   1.26
  @@ -16,7 +16,9 @@
   JVM.
   
   Note that you cannot interact with a forked VM, the only way to
  -send input to it is via the input and inputstring attributes.
  +send input to it is via the input and inputstring attributes. Also note that
  +in Ant 1.6, any attempt to read input in the forked VM will receive an
  +EOF (-1). This is a change from Ant 1.5, where such an attempt would 
block.
   
   Parameters
   
  
  
  

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



cvs commit: ant WHATSNEW

2003-12-08 Thread conor
conor   2003/12/07 18:25:42

  Modified:.Tag: ANT_16_BRANCH WHATSNEW
  Log:
  Move to Beta3+ section - should coalesce these on release
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.503.2.18 +10 -4 ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.503.2.17
  retrieving revision 1.503.2.18
  diff -u -w -u -r1.503.2.17 -r1.503.2.18
  --- WHATSNEW  8 Dec 2003 02:23:39 -   1.503.2.17
  +++ WHATSNEW  8 Dec 2003 02:25:42 -   1.503.2.18
  @@ -1,3 +1,13 @@
  +Changes from Ant 1.6.B3 to CVS
  +=
  +
  +Changes that could break older environments:
  +
  +* Attempts to read input in  and  tasks will now receive an EOF
  +  rather than blocking. If you run such a process and rely on it blocking, as
  +  it would do in Ant 1.5, you may have problem.
  +
  +
   Changes from Ant 1.6.B2 to Ant 1.6.B3
   =
   
  @@ -10,10 +20,6 @@
 of ant 1.6b1 and ant 1.6b2.
   
   * 's executable attribute defaults to mcs on non-Windows platforms.
  -
  -* Attempts to read input in  and  tasks will now receive an EOF
  -  rather than blocking. If you run such a process and rely on it blocking, as
  -  it would do in Ant 1.5, you may have problem.
   
   Fixed bugs:
   ---
  
  
  

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



cvs commit: ant/docs/manual/CoreTasks exec.html java.html

2003-12-08 Thread conor
conor   2003/12/07 18:23:39

  Modified:.Tag: ANT_16_BRANCH WHATSNEW
   docs/manual/CoreTasks Tag: ANT_16_BRANCH exec.html java.html
  Log:
  Document that attempts to read from System.in will receive an EOF rather
  than blocking as was the case in Ant 1.5
  PR:   25258
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.503.2.17 +12 -8 ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.503.2.16
  retrieving revision 1.503.2.17
  diff -u -w -u -r1.503.2.16 -r1.503.2.17
  --- WHATSNEW  4 Dec 2003 22:30:19 -   1.503.2.16
  +++ WHATSNEW  8 Dec 2003 02:23:39 -   1.503.2.17
  @@ -11,6 +11,10 @@
   
   * 's executable attribute defaults to mcs on non-Windows platforms.
   
  +* Attempts to read input in  and  tasks will now receive an EOF
  +  rather than blocking. If you run such a process and rely on it blocking, as
  +  it would do in Ant 1.5, you may have problem.
  +
   Fixed bugs:
   ---
   * the  task checks that the Main method of the class to be executed is 
static,
  
  
  
  No   revision
  No   revision
  1.34.2.4  +21 -19ant/docs/manual/CoreTasks/exec.html
  
  Index: exec.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/exec.html,v
  retrieving revision 1.34.2.3
  retrieving revision 1.34.2.4
  diff -u -w -u -r1.34.2.3 -r1.34.2.4
  --- exec.html 13 Oct 2003 13:09:40 -  1.34.2.3
  +++ exec.html 8 Dec 2003 02:23:39 -   1.34.2.4
  @@ -15,7 +15,9 @@
   systems.
   
   Note that you cannot interact with the forked program, the only way
  -to send input to it is via the input and inputstring attributes.
  +to send input to it is via the input and inputstring attributes. Also note 
that
  +in Ant 1.6, any attempt to read input in the forked program will receive an
  +EOF (-1). This is a change from Ant 1.5, where such an attempt would 
block.
   
   Cygwin Users
   In general the  task will not understand paths such as 
/bin/sh for 
  
  
  
  1.24.2.3  +24 -22ant/docs/manual/CoreTasks/java.html
  
  Index: java.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/java.html,v
  retrieving revision 1.24.2.2
  retrieving revision 1.24.2.3
  diff -u -w -u -r1.24.2.2 -r1.24.2.3
  --- java.html 13 Oct 2003 13:09:40 -  1.24.2.2
  +++ java.html 8 Dec 2003 02:23:39 -   1.24.2.3
  @@ -17,7 +17,9 @@
   JVM.
   
   Note that you cannot interact with a forked VM, the only way to
  -send input to it is via the input and inputstring attributes.
  +send input to it is via the input and inputstring attributes. Also note that
  +in Ant 1.6, any attempt to read input in the forked VM will receive an
  +EOF (-1). This is a change from Ant 1.5, where such an attempt would 
block.
   
   Parameters
   
  
  
  

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



DO NOT REPLY [Bug 25258] - System.in closed by

2003-12-08 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=25258

System.in closed by 

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Normal  |Minor
 Status|RESOLVED|REOPENED
  Component|Core tasks  |Documentation
 Resolution|INVALID |
   Target Milestone|--- |1.6



--- Additional Comments From [EMAIL PROTECTED]  2003-12-08 01:46 ---
Ok but that's quite surprising since this change doesn't appear to be documented
explicitly. I guess it's a side effect of the new input redirection in the
 and  tasks. I'm reopening the bug to have this issue mentioned in
the changelog or in the manual.

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