dev@glassfish.java.net

Re: patch for results.mailhost

From: Deepa Singh <Deepa.Singh_at_Sun.COM>
Date: Tue, 02 Aug 2005 18:34:50 -0500

I am seeing this problem on Linux x86, Solaris x86 systems.
Solaris on sparc, Windows 2000,Windows XP don't show this behaviour (at
least for me), provided ant jars are copied before ant is started. If we
don't want to fork off another process for sending out just email
attachments,then one option is to invoke ant from maven with -lib
pointing to all relevant jars.

ant -lib /home/ant/extras

This is possible only after ANT 1.6



Jeanfrancois Arcand wrote:

>
>
> Matthew L Daniel wrote:
>
>>> Patch for specifying results.mailhost in
>>> appserv-tests/config.properties and
>>> appserv-tests/ee-config.properties has been integrated.
>>
>>
>>
>> Thank you!
>>
>>
>>> On Linux systems, MIME attachments are not sent even after copying
>>> mail.jar and activation.jar into ANT_HOME/lib/ant.
>>
>>
>>
>> What makes this "Linux system" specific? Do we know? I mean is that
>> phrase used to mean "all systems not Solaris" or really just Linux?
>>
>> I would like to -1
>
>
> Hehe my first -1 here :-)
>
> the concept of (what amounts to) forking off an Ant
>
>> process as a solution to this. If I understand the build process
>> correctly, Maven is already executing Ant, even if it's just intra-VM,
>> instead of being a true Maven build. My opposition is for anything that
>> makes the build contain more hackery than it already does.
>>
>> I look forward to hearing the results of your investigation.
>
>
> Actualy it not on Linux, but on win32. It seems copying the mail.jar
> without forking on win32 makes Ant unable to load the jars. It is far
> from perfect, and if you have a better solution, we should implement
> it. Just take a look at glassfish/appserv-tests/devtests/web/build.xml
> to see how I've implemented the hack.
>
> -- Jeanfrancois
>
>>
>> -- /v\atthew
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Deepa Singh
Sun Java Enterprise System 9.0
J2EE Core
MailStop: USCA14-304
Santa Clara,CA
x40277 +1 408 404 5144