roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Tan <markta...@yahoo.com>
Subject Re: "Build" issue in Netbeans using Roller 4
Date Thu, 27 Dec 2007 14:37:09 GMT
Hi,

I used "File" - "Open Project" in netbeans 6.0 and
point to "apache-roller-src-4.0".

I right click "Roller_trunk" and choose build then got
all these errors...

How to solve these errors and also get the roller
database up in netbeans? Thanks.

=====================================================
build:
build:
Building jar:
C:\apache-roller-src-4.0\components\core\build\lib\roller-core.jar
dist:
Copying 1 file to
C:\apache-roller-src-4.0\components\core\dist\lib
build-business:
Compiling 66 source files to
C:\apache-roller-src-4.0\apps\planet\build\compile\business
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:23:
package javax.mail does not exist
import javax.mail.Message;
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:24:
package javax.mail does not exist
import javax.mail.MessagingException;
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:25:
package javax.mail does not exist
import javax.mail.SendFailedException;
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:26:
package javax.mail does not exist
import javax.mail.Session;
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:27:
package javax.mail does not exist
import javax.mail.Transport;
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:28:
package javax.mail does not exist
import javax.mail.Address;
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:29:
package javax.mail.internet does not exist
import javax.mail.internet.InternetAddress;
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:30:
package javax.mail.internet does not exist
import javax.mail.internet.MimeMessage;
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:53:
cannot find symbol
symbol  : class Session
location: class org.apache.roller.planet.util.MailUtil
    	Session session,
    	^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:62:
cannot find symbol
symbol  : class MessagingException
location: class org.apache.roller.planet.util.MailUtil
    throws MessagingException
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:154:
cannot find symbol
symbol  : class Session
location: class org.apache.roller.planet.util.MailUtil
    	Session session,
    	^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:162:
cannot find symbol
symbol  : class MessagingException
location: class org.apache.roller.planet.util.MailUtil
    throws MessagingException
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:179:
cannot find symbol
symbol  : class Session
location: class org.apache.roller.planet.util.MailUtil
                Session session,
                ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:187:
cannot find symbol
symbol  : class MessagingException
location: class org.apache.roller.planet.util.MailUtil
        throws MessagingException
               ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:209:
cannot find symbol
symbol  : class Session
location: class org.apache.roller.planet.util.MailUtil
    	Session session,
    	^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:217:
cannot find symbol
symbol  : class MessagingException
location: class org.apache.roller.planet.util.MailUtil
    throws MessagingException
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:241:
cannot find symbol
symbol  : class Session
location: class org.apache.roller.planet.util.MailUtil
    	Session session,
    	^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:249:
cannot find symbol
symbol  : class MessagingException
location: class org.apache.roller.planet.util.MailUtil
    throws MessagingException
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:266:
cannot find symbol
symbol  : class Session
location: class org.apache.roller.planet.util.MailUtil
    	Session session,
    	^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:274:
cannot find symbol
symbol  : class MessagingException
location: class org.apache.roller.planet.util.MailUtil
    throws MessagingException
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:300:
cannot find symbol
symbol  : class Session
location: class org.apache.roller.planet.util.MailUtil
                Session session,
                ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:308:
cannot find symbol
symbol  : class MessagingException
location: class org.apache.roller.planet.util.MailUtil
        throws MessagingException
               ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:64:
cannot find symbol
symbol  : class Message
location: class org.apache.roller.planet.util.MailUtil
        Message message = new MimeMessage(session);
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:64:
cannot find symbol
symbol  : class MimeMessage
location: class org.apache.roller.planet.util.MailUtil
        Message message = new MimeMessage(session);
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:68:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                        InternetAddress sentFrom = new
InternetAddress(from);
                        ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:68:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                        InternetAddress sentFrom = new
InternetAddress(from);
                                                      
^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:75:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                        InternetAddress[] sendTo = new
InternetAddress[to.length];
                        ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:75:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                        InternetAddress[] sendTo = new
InternetAddress[to.length];
                                                      
^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:79:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                                sendTo[i] = new
InternetAddress(to[i]);
                                                ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:82:
package Message does not exist
                       
message.setRecipients(Message.RecipientType.TO,
sendTo);
                                                     ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:87:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                        InternetAddress[] copyTo = new
InternetAddress[cc.length];
                        ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:87:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                        InternetAddress[] copyTo = new
InternetAddress[cc.length];
                                                      
^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:91:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                                copyTo[i] = new
InternetAddress(cc[i]);
                                                ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:94:
package Message does not exist
                       
message.setRecipients(Message.RecipientType.CC,
copyTo);
                                                     ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:99:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                        InternetAddress[] copyTo = new
InternetAddress[bcc.length];
                        ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:99:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                        InternetAddress[] copyTo = new
InternetAddress[bcc.length];
                                                      
^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:103:
cannot find symbol
symbol  : class InternetAddress
location: class org.apache.roller.planet.util.MailUtil
                                copyTo[i] = new
InternetAddress(bcc[i]);
                                                ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:106:
package Message does not exist
                       
message.setRecipients(Message.RecipientType.BCC,
copyTo);
                                                     ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:113:
cannot find symbol
symbol  : class Address
location: class org.apache.roller.planet.util.MailUtil
        Address[] remainingAddresses =
message.getAllRecipients();
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:117:
cannot find symbol
symbol  : class SendFailedException
location: class org.apache.roller.planet.util.MailUtil
        SendFailedException sendex = new
SendFailedException("Unable to send message to some
recipients");
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:117:
cannot find symbol
symbol  : class SendFailedException
location: class org.apache.roller.planet.util.MailUtil
        SendFailedException sendex = new
SendFailedException("Unable to send message to some
recipients");
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:128:
cannot find symbol
symbol  : variable Transport
location: class org.apache.roller.planet.util.MailUtil
                       
Transport.send(message,remainingAddresses);
                        ^
C:\apache-roller-src-4.0\apps\planet\src\java\org\apache\roller\planet\util\MailUtil.java:130:
cannot find symbol
symbol  : class SendFailedException
location: class org.apache.roller.planet.util.MailUtil
                        catch(SendFailedException ex)
                              ^
Note: Some input files use unchecked or unsafe
operations.
Note: Recompile with -Xlint:unchecked for details.
43 errors
C:\apache-roller-src-4.0\build.xml:32: The following
error occurred while executing this line:
C:\apache-roller-src-4.0\apps\planet\build.xml:185:
Compile failed; see the compiler error output for
details.
BUILD FAILED (total time: 5 seconds)
=======================================================
 
--- Matthias Schmidt <matthias.schmidt@gmx.de> wrote:

> What are the errors?
> 
> Mark Tan schrieb:
> > Hi,
> >
> > Does anyone have the instructions to build and
> compile
> > Roller 4?
> >
> > I tried using netbeans 6 but got many errors.
> >
> > I am trying to load Roller project into netbeans
> and
> > customize Roller. 
> >
> > Your advice is apprecaited. Thanks.
> >
> > Regards,
> >
> > Mark Tan
> >
> >
> >      
>
____________________________________________________________________________________
> > Be a better friend, newshound, and 
> > know-it-all with Yahoo! Mobile.  Try it now. 
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> 
> >
> >   
> 
> 


Regards,

Mark Tan


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Mime
View raw message