You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Antoine Lévy-Lambert <an...@antbuild.com> on 2003/12/05 00:48:57 UTC
ant 1.6beta3 released
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: bug fixes!! WAS: ant 1.6beta3 released
Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 8 Dec 2003, Filip Hanik <de...@hanik.com> wrote:
> 1. SCP - this task hangs on large file transfers,
Does this still happen for beta3? There have been some bug fixes for
the ssh tasks.
> 2. CVS - the line "cvs add *" doesn't work, I have added in
> <fileset> element to CVS which allows you to add files to the
enhancement request 8-)
> 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.
I'm not sure, maybe commons-net can already do that? I'd prefer to
see fixes in that area to go upstreams so that all customers of
commons-net can take advantage of them.
> 4. Main, changed it so that it wouldn't issue a System.exit if a
> flag is passed in,
enhancement request 8-)
> this is necessary for us since we are launching ant embedded and
> don't want to install an additional security manager.
Don't do that. We've always said that Main is no good entry point to
embed Ant.
> 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!
Sounds like a one-line fix, right?
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
AW: bug fixes!! WAS: ant 1.6beta3 released
Posted by Antoine Lévy-Lambert <an...@antbuild.com>.
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:devlists@hanik.com]
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 <fileset>
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
bug fixes!! WAS: ant 1.6beta3 released
Posted by Filip Hanik <de...@hanik.com>.
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 <fileset>
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:antoine@antbuild.com]
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:A.Solofnenko@mdl.com]
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
<http://issues.apache.org/bugzilla/show_bug.cgi?id=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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
AW: ant 1.6beta3 released
Posted by Antoine Lévy-Lambert <an...@antbuild.com>.
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:A.Solofnenko@mdl.com]
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
<http://issues.apache.org/bugzilla/show_bug.cgi?id=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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: ant 1.6beta3 released
Posted by "Alexey N. Solofnenko" <A....@mdl.com>.
.NET tasks documentation is still not fixed (24058
<http://issues.apache.org/bugzilla/show_bug.cgi?id=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: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org