Re: [v3] GFv3 build failure
Thanks for clarifying.
Okay, so this works.
Jerome Dochez wrote:
> there is no api subdirectory in appserv-webtier.
> what I suggested was :
> cd v3/api and do mvn install
> cd v3 and do mvn install
>
> the reason is that api's are built independently from the rest of the
> v3 workspace.
>
> On Jan 3, 2008, at 4:14 PM, Jane Young wrote:
>
>> The build is failing in the api subdirectory (v3/web/appserv-
>> webtier) as well.
>> I also tried building in v3/web and the same failure.
>>
>> Jane
>>
>>
>> Jerome Dochez wrote:
>>
>>> try an experiment, can you build the api subdirectory first and
>>> then the full v3. see if if changes anything...
>>>
>>> jerome
>>>
>>> On Jan 3, 2008, at 3:58 PM, Jane Young wrote:
>>>
>>>> Hi,
>>>>
>>>> Build is failing in the latest GFv3 checkout. Any idea?
>>>> Thanks,
>>>> Jane
>>>>
>>>>
>>>> [INFO] Compiling 554 source files to /export/Glassfish/
>>>> glassfish_v3_03Jan/v3/web/appserv-webtier/target/classes
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/MailSessionFactory.java:48:
>>>> package javax.mail does not exist
>>>> import javax.mail.Session;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:48:
>>>> package javax.mail does not exist
>>>> import javax.mail.Session;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:49:
>>>> package javax.mail.internet does not exist
>>>> import javax.mail.internet.InternetAddress;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:50:
>>>> package javax.mail.internet does not exist
>>>> import javax.mail.internet.MimeMessage;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:51:
>>>> package javax.mail.internet does not exist
>>>> import javax.mail.internet.MimePart;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:52:
>>>> package javax.mail.internet does not exist
>>>> import javax.mail.internet.MimePartDataSource;
>>>> ^
>>>> Note: Some input files use or override a deprecated API.
>>>> Note: Recompile with -Xlint:deprecation for details.
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/MailSessionFactory.java:48:
>>>> package javax.mail does not exist
>>>> import javax.mail.Session;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:48:
>>>> package javax.mail does not exist
>>>> import javax.mail.Session;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:49:
>>>> package javax.mail.internet does not exist
>>>> import javax.mail.internet.InternetAddress;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:50:
>>>> package javax.mail.internet does not exist
>>>> import javax.mail.internet.MimeMessage;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:51:
>>>> package javax.mail.internet does not exist
>>>> import javax.mail.internet.MimePart;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:52:
>>>> package javax.mail.internet does not exist
>>>> import javax.mail.internet.MimePartDataSource;
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/MailSessionFactory.java:140:
>>>> cannot find symbol
>>>> symbol: class Session
>>>> Session session = Session.getInstance(props, null);
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/MailSessionFactory.java:140:
>>>> cannot find symbol
>>>> symbol: variable Session
>>>> Session session = Session.getInstance(props, null);
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:132:
>>>> cannot find symbol
>>>> symbol: class MimeMessage
>>>> MimeMessage message = new MimeMessage(
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:132:
>>>> cannot find symbol
>>>> symbol: class MimeMessage
>>>> MimeMessage message = new MimeMessage(
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:133:
>>>> cannot find symbol
>>>> symbol: variable Session
>>>> Session.getInstance(props));
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:136:
>>>> cannot find symbol
>>>> symbol: class InternetAddress
>>>> message.setFrom(new InternetAddress(from));
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:139:
>>>> cannot find symbol
>>>> symbol: class MimePartDataSource
>>>> MimePartDataSource mds = new MimePartDataSource(
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:139:
>>>> cannot find symbol
>>>> symbol: class MimePartDataSource
>>>> MimePartDataSource mds = new MimePartDataSource(
>>>> ^
>>>> /export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/
>>>> main/ java/org/apache/naming/factory/SendMailFactory.java:140:
>>>> cannot find symbol
>>>> symbol: class MimePart
>>>> (MimePart)message);
>>>> ^
>>>> Note: Some input files use or override a deprecated API.
>>>> Note: Recompile with -Xlint:deprecation for details.
>>>> Note: Some input files use unchecked or unsafe operations.
>>>> Note: Recompile with -Xlint:unchecked for details.
>>>> 15 errors
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [INFO] Fatal error compiling
>>>>
>>>> Embedded error: APT failed: 1
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>>
>>
>> ---------------------------------------------------------------------
>> 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
>