Re: mail task

2018-08-13 Thread Jaikiran Pai
Thank you for reporting the issue and testing the fix, Simon.

-Jaikiran


On 14/08/18 1:39 AM, Simon IJskes - QCG wrote:
> fix works. Thanks!
>
> On 08/13/2018 09:55 PM, Simon IJskes - QCG wrote:
>> https://bz.apache.org/bugzilla/show_bug.cgi?id=62621
>>
>> On 08/13/2018 06:07 PM, Jaikiran Pai wrote:
>>> Hi Simon,
>>>
>>> Yes, you can file a bug. I'll update it to record that it's been
>>> handled
>>> in an upcoming release. As usual, our nightly builds are
>>> available[1] to
>>> test this fix, till the release is ready.
>>>
>>> [1]
>>> https://builds.apache.org/job/Ant_Nightly/lastSuccessfulBuild/artifact/
>>>
>>> -Jaikiran
>>
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
>> For additional commands, e-mail: dev-h...@ant.apache.org
>>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>


-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: mail task

2018-08-13 Thread Simon IJskes - QCG

fix works. Thanks!

On 08/13/2018 09:55 PM, Simon IJskes - QCG wrote:

https://bz.apache.org/bugzilla/show_bug.cgi?id=62621

On 08/13/2018 06:07 PM, Jaikiran Pai wrote:

Hi Simon,

Yes, you can file a bug. I'll update it to record that it's been handled
in an upcoming release. As usual, our nightly builds are available[1] to
test this fix, till the release is ready.

[1] 
https://builds.apache.org/job/Ant_Nightly/lastSuccessfulBuild/artifact/


-Jaikiran



-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: mail task

2018-08-13 Thread Simon IJskes - QCG

https://bz.apache.org/bugzilla/show_bug.cgi?id=62621

On 08/13/2018 06:07 PM, Jaikiran Pai wrote:

Hi Simon,

Yes, you can file a bug. I'll update it to record that it's been handled
in an upcoming release. As usual, our nightly builds are available[1] to
test this fix, till the release is ready.

[1] https://builds.apache.org/job/Ant_Nightly/lastSuccessfulBuild/artifact/

-Jaikiran



-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: mail task

2018-08-13 Thread Jaikiran Pai
Hi Simon,

Yes, you can file a bug. I'll update it to record that it's been handled
in an upcoming release. As usual, our nightly builds are available[1] to
test this fix, till the release is ready.

[1] https://builds.apache.org/job/Ant_Nightly/lastSuccessfulBuild/artifact/

-Jaikiran


On 13/08/18 9:32 PM, Simon IJskes - QCG wrote:
> Thanks,
>
> Shall i still file a bug? I want to give netbeans a heads up when this
> is in a release.
>
> Gr. Simon
>
> On 08/13/2018 04:48 PM, Jaikiran Pai wrote:
>> I pushed a commit to both our 1.9.x and master branches to include a
>> change which should bring in the right jars as part of the fetch.
>>
>> In near future, I'll try and update our mail task tests to be a bit more
>> robust for checking the basic usage of this task.
>>
>> -Jaikiran
>>
>>
>> On 13/08/18 7:17 PM, Jaikiran Pai wrote:
>>> Yes, it looks like one of our changes broke this. We seem to just fetch
>>> the mail API jar(s) and no longer fetch the jars which includethe
>>> provider implementation(s). Can you please file a bug for this, in the
>>> Ant bugzilla?
>>>
>>> -Jaikiran
>>>
>>>
>>> On 13/08/18 7:13 PM, Simon IJskes - QCG wrote:
 It looks like javax.mail-1.6.1.jar is missing.

 By manually copying this jar into the lib directory it works.

 Before that i've tried to add a dependency in lib/ant-javamail.pom and
 running fetch again but that did not fix it:

 
  com.sun.mail
  javax.mail
  1.6.1
 


>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>


-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: mail task

2018-08-13 Thread Simon IJskes - QCG

Thanks,

Shall i still file a bug? I want to give netbeans a heads up when this 
is in a release.


Gr. Simon

On 08/13/2018 04:48 PM, Jaikiran Pai wrote:

I pushed a commit to both our 1.9.x and master branches to include a
change which should bring in the right jars as part of the fetch.

In near future, I'll try and update our mail task tests to be a bit more
robust for checking the basic usage of this task.

-Jaikiran


On 13/08/18 7:17 PM, Jaikiran Pai wrote:

Yes, it looks like one of our changes broke this. We seem to just fetch
the mail API jar(s) and no longer fetch the jars which includethe
provider implementation(s). Can you please file a bug for this, in the
Ant bugzilla?

-Jaikiran


On 13/08/18 7:13 PM, Simon IJskes - QCG wrote:

It looks like javax.mail-1.6.1.jar is missing.

By manually copying this jar into the lib directory it works.

Before that i've tried to add a dependency in lib/ant-javamail.pom and
running fetch again but that did not fix it:


     com.sun.mail
     javax.mail
     1.6.1






-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: mail task

2018-08-13 Thread Jaikiran Pai
I pushed a commit to both our 1.9.x and master branches to include a
change which should bring in the right jars as part of the fetch.

In near future, I'll try and update our mail task tests to be a bit more
robust for checking the basic usage of this task.

-Jaikiran


On 13/08/18 7:17 PM, Jaikiran Pai wrote:
> Yes, it looks like one of our changes broke this. We seem to just fetch
> the mail API jar(s) and no longer fetch the jars which includethe
> provider implementation(s). Can you please file a bug for this, in the
> Ant bugzilla?
>
> -Jaikiran
>
>
> On 13/08/18 7:13 PM, Simon IJskes - QCG wrote:
>> It looks like javax.mail-1.6.1.jar is missing.
>>
>> By manually copying this jar into the lib directory it works.
>>
>> Before that i've tried to add a dependency in lib/ant-javamail.pom and
>> running fetch again but that did not fix it:
>>
>> 
>>     com.sun.mail
>>     javax.mail
>>     1.6.1
>> 
>>
>>
>> On 08/13/2018 03:27 PM, Simon IJskes - QCG wrote:
>>> The jar files loaded during execution are:
>>>
>>> /home/sim/apache-ant-1.10.5/lib/ant-launcher.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-xz.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-apache-log4j.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-apache-bcel.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-swing.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-commons-logging.jar
>>> /home/sim/apache-ant-1.10.5/lib/javax.mail-api-1.6.1.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-junitlauncher.jar
>>> /home/sim/apache-ant-1.10.5/lib/activation-1.1.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-jdepend.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-apache-oro.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-apache-bsf.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-javamail.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-jmf.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-testutil.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-netrexx.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-junit.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-commons-net.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-junit4.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-antlr.jar
>>> /home/sim/apache-ant-1.10.5/lib/maven-ant-tasks-2.1.3.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-jai.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-apache-xalan2.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-jsch.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-apache-regexp.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant-apache-resolver.jar
>>> /home/sim/apache-ant-1.10.5/lib/ant.jar
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
>> For additional commands, e-mail: dev-h...@ant.apache.org
>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>


-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: mail task

2018-08-13 Thread Jaikiran Pai
Yes, it looks like one of our changes broke this. We seem to just fetch
the mail API jar(s) and no longer fetch the jars which includethe
provider implementation(s). Can you please file a bug for this, in the
Ant bugzilla?

-Jaikiran


On 13/08/18 7:13 PM, Simon IJskes - QCG wrote:
> It looks like javax.mail-1.6.1.jar is missing.
>
> By manually copying this jar into the lib directory it works.
>
> Before that i've tried to add a dependency in lib/ant-javamail.pom and
> running fetch again but that did not fix it:
>
> 
>     com.sun.mail
>     javax.mail
>     1.6.1
> 
>
>
> On 08/13/2018 03:27 PM, Simon IJskes - QCG wrote:
>> The jar files loaded during execution are:
>>
>> /home/sim/apache-ant-1.10.5/lib/ant-launcher.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-xz.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-apache-log4j.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-apache-bcel.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-swing.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-commons-logging.jar
>> /home/sim/apache-ant-1.10.5/lib/javax.mail-api-1.6.1.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-junitlauncher.jar
>> /home/sim/apache-ant-1.10.5/lib/activation-1.1.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-jdepend.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-apache-oro.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-apache-bsf.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-javamail.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-jmf.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-testutil.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-netrexx.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-junit.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-commons-net.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-junit4.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-antlr.jar
>> /home/sim/apache-ant-1.10.5/lib/maven-ant-tasks-2.1.3.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-jai.jar
>> /home/sim/apache-ant-1.10.5/lib/ant.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-apache-xalan2.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-jsch.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-apache-regexp.jar
>> /home/sim/apache-ant-1.10.5/lib/ant-apache-resolver.jar
>> /home/sim/apache-ant-1.10.5/lib/ant.jar
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>


-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: mail task

2018-08-13 Thread Simon IJskes - QCG

It looks like javax.mail-1.6.1.jar is missing.

By manually copying this jar into the lib directory it works.

Before that i've tried to add a dependency in lib/ant-javamail.pom and 
running fetch again but that did not fix it:



com.sun.mail
javax.mail
1.6.1



On 08/13/2018 03:27 PM, Simon IJskes - QCG wrote:

The jar files loaded during execution are:

/home/sim/apache-ant-1.10.5/lib/ant-launcher.jar
/home/sim/apache-ant-1.10.5/lib/ant-xz.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-log4j.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-bcel.jar
/home/sim/apache-ant-1.10.5/lib/ant-swing.jar
/home/sim/apache-ant-1.10.5/lib/ant-commons-logging.jar
/home/sim/apache-ant-1.10.5/lib/javax.mail-api-1.6.1.jar
/home/sim/apache-ant-1.10.5/lib/ant-junitlauncher.jar
/home/sim/apache-ant-1.10.5/lib/activation-1.1.jar
/home/sim/apache-ant-1.10.5/lib/ant-jdepend.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-oro.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-bsf.jar
/home/sim/apache-ant-1.10.5/lib/ant-javamail.jar
/home/sim/apache-ant-1.10.5/lib/ant-jmf.jar
/home/sim/apache-ant-1.10.5/lib/ant-testutil.jar
/home/sim/apache-ant-1.10.5/lib/ant-netrexx.jar
/home/sim/apache-ant-1.10.5/lib/ant-junit.jar
/home/sim/apache-ant-1.10.5/lib/ant-commons-net.jar
/home/sim/apache-ant-1.10.5/lib/ant-junit4.jar
/home/sim/apache-ant-1.10.5/lib/ant-antlr.jar
/home/sim/apache-ant-1.10.5/lib/maven-ant-tasks-2.1.3.jar
/home/sim/apache-ant-1.10.5/lib/ant-jai.jar
/home/sim/apache-ant-1.10.5/lib/ant.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-xalan2.jar
/home/sim/apache-ant-1.10.5/lib/ant-jsch.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-regexp.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-resolver.jar
/home/sim/apache-ant-1.10.5/lib/ant.jar



-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: mail task

2018-08-13 Thread Simon IJskes - QCG

The jar files loaded during execution are:

/home/sim/apache-ant-1.10.5/lib/ant-launcher.jar
/home/sim/apache-ant-1.10.5/lib/ant-xz.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-log4j.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-bcel.jar
/home/sim/apache-ant-1.10.5/lib/ant-swing.jar
/home/sim/apache-ant-1.10.5/lib/ant-commons-logging.jar
/home/sim/apache-ant-1.10.5/lib/javax.mail-api-1.6.1.jar
/home/sim/apache-ant-1.10.5/lib/ant-junitlauncher.jar
/home/sim/apache-ant-1.10.5/lib/activation-1.1.jar
/home/sim/apache-ant-1.10.5/lib/ant-jdepend.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-oro.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-bsf.jar
/home/sim/apache-ant-1.10.5/lib/ant-javamail.jar
/home/sim/apache-ant-1.10.5/lib/ant-jmf.jar
/home/sim/apache-ant-1.10.5/lib/ant-testutil.jar
/home/sim/apache-ant-1.10.5/lib/ant-netrexx.jar
/home/sim/apache-ant-1.10.5/lib/ant-junit.jar
/home/sim/apache-ant-1.10.5/lib/ant-commons-net.jar
/home/sim/apache-ant-1.10.5/lib/ant-junit4.jar
/home/sim/apache-ant-1.10.5/lib/ant-antlr.jar
/home/sim/apache-ant-1.10.5/lib/maven-ant-tasks-2.1.3.jar
/home/sim/apache-ant-1.10.5/lib/ant-jai.jar
/home/sim/apache-ant-1.10.5/lib/ant.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-xalan2.jar
/home/sim/apache-ant-1.10.5/lib/ant-jsch.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-regexp.jar
/home/sim/apache-ant-1.10.5/lib/ant-apache-resolver.jar
/home/sim/apache-ant-1.10.5/lib/ant.jar


On 08/13/2018 03:22 PM, Simon IJskes - QCG wrote:

With:

java.runtime.version : 1.8.0_181-b13
java.vm.specification.vendor : Oracle Corporation

and with

java.vm.version : 10.0.1+10
java.runtime.version : 10.0.1+10
java.vm.specification.vendor : Oracle Corporation

Gr. Simon

On 08/13/2018 03:11 PM, Jaikiran Pai wrote:

Which vendor and version of Java is this?

-Jaikiran


On 13/08/18 6:39 PM, Simon IJskes - QCG wrote:

I still have problems installing ant binary distribution (1.10.5) and
using the email task.

I've tried to complete the binary directories by running either:

ant -f fetch.xml -Ddest=system

or

ant -f fetch.xml -Ddest=system javamail


But then i still have (altough another) exception:

build.xml:6: java.lang.NoClassDefFoundError:
com/sun/mail/util/FolderClosedIOException

at:

 
 
 

What am i missing here? I've tried with and without --noconfig

Gr. Simon

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: mail task

2018-08-13 Thread Simon IJskes - QCG

With:

java.runtime.version : 1.8.0_181-b13
java.vm.specification.vendor : Oracle Corporation

and with

java.vm.version : 10.0.1+10
java.runtime.version : 10.0.1+10
java.vm.specification.vendor : Oracle Corporation

Gr. Simon

On 08/13/2018 03:11 PM, Jaikiran Pai wrote:

Which vendor and version of Java is this?

-Jaikiran


On 13/08/18 6:39 PM, Simon IJskes - QCG wrote:

I still have problems installing ant binary distribution (1.10.5) and
using the email task.

I've tried to complete the binary directories by running either:

ant -f fetch.xml -Ddest=system

or

ant -f fetch.xml -Ddest=system javamail


But then i still have (altough another) exception:

build.xml:6: java.lang.NoClassDefFoundError:
com/sun/mail/util/FolderClosedIOException

at:

     
     
     

What am i missing here? I've tried with and without --noconfig

Gr. Simon

-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



Re: mail task

2018-08-13 Thread Jaikiran Pai
Which vendor and version of Java is this?

-Jaikiran


On 13/08/18 6:39 PM, Simon IJskes - QCG wrote:
> I still have problems installing ant binary distribution (1.10.5) and
> using the email task.
>
> I've tried to complete the binary directories by running either:
>
> ant -f fetch.xml -Ddest=system
>
> or
>
> ant -f fetch.xml -Ddest=system javamail
>
>
> But then i still have (altough another) exception:
>
> build.xml:6: java.lang.NoClassDefFoundError:
> com/sun/mail/util/FolderClosedIOException
>
> at:
>
>      subject="Testemail"  >
>     
>     
>
> What am i missing here? I've tried with and without --noconfig
>
> Gr. Simon
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>


-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org