GNU JavaMail - HEAD compile error

View: New views
3 Messages — Rating Filter:   Alert me  

GNU JavaMail - HEAD compile error

by Conrad T. Pino :: Rate this Message:

| View Threaded | Show Only this Message

Hello All,

GNU JavaMail 1.1.2 compiles with:

  GNU inetlib 1.1.1
  GNU JAF 1.1.1

however the HEAD revision does not (see messages below).

The problem is class "gnu.inet.util.LaconicFormatter" which
was never released in packaged form and is available only in
source form as the HEAD revision of "GNU inetlib" project.

My specific concern is staying within software components
available within the Debian package release system as over
time local package management becomes troublesome.

I propose to continue working with HEAD revisions but that's
only worthwhile if public release of the respective packages
is the end result.

If public releases are impractical at this time then working
against the "release_1_1_2" branch tag and merging into HEAD
seems more appropriate.

Comments, advice and alternatives are solicited.

Best regards,

Conrad Pino
==============================================================
javac  -classpath ./source:/usr/share/java/activation.jar:/usr/share/java/inetlib.jar: -d classes
source/gnu/mail/providers/smtp/SMTPTransport.java
----------
1. ERROR in source/gnu/mail/providers/smtp/SMTPTransport.java (at line 65)
        import gnu.inet.util.LaconicFormatter;
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import gnu.inet.util.LaconicFormatter cannot be resolved
----------
2. ERROR in source/gnu/mail/providers/smtp/SMTPTransport.java (at line 157)
        connection = new SMTPConnection(host, port,
                                        connectionTimeout, timeout,
                                        tls, tm, false);

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^
The constructor SMTPConnection(String, int, int, int, boolean, TrustManager, boolean) is undefined
----------
3. WARNING in source/gnu/mail/providers/smtp/SMTPTransport.java (at line 162)
        Logger logger = connection.logger;
                                   ^^^^^^
The static field SMTPConnection.logger should be accessed in a static way
----------
4. ERROR in source/gnu/mail/providers/smtp/SMTPTransport.java (at line 164)
        Formatter formatter = new LaconicFormatter();
                                  ^^^^^^^^^^^^^^^^
LaconicFormatter cannot be resolved to a type
----------
5. ERROR in source/gnu/mail/providers/smtp/SMTPTransport.java (at line 171)
        connection.init();
                   ^^^^
The method init() is undefined for the type SMTPConnection
----------
5 problems (4 errors, 1 warning)make: *** [classes/gnu/mail/providers/smtp/SMTPTransport.class] Error 255





_______________________________________________
Classpathx-javamail mailing list
Classpathx-javamail@...
http://lists.gnu.org/mailman/listinfo/classpathx-javamail

Re: GNU JavaMail - HEAD compile error

by Chris Burdess-2 :: Rate this Message:

| View Threaded | Show Only this Message

Conrad T. Pino wrote:

> GNU JavaMail 1.1.2 compiles with:
>
>   GNU inetlib 1.1.1
>   GNU JAF 1.1.1
>
> however the HEAD revision does not (see messages below).
>
> The problem is class "gnu.inet.util.LaconicFormatter" which
> was never released in packaged form and is available only in
> source form as the HEAD revision of "GNU inetlib" project.

Yes, I need to do a point release of inetlib. I'll do that during today.
--
Chris Burdess


_______________________________________________
Classpathx-javamail mailing list
Classpathx-javamail@...
http://lists.gnu.org/mailman/listinfo/classpathx-javamail

RE: GNU JavaMail - HEAD compile error

by Conrad T. Pino :: Rate this Message:

| View Threaded | Show Only this Message

Hi Chris,

I compiled latest inetlib from CVS and used that to complete
a successful HEAD compile.  An inetlib point release is not
holding back my work.

Conrad

> -----Original Message-----
> From: classpathx-javamail-bounces+conrad=pino.com@...
> [mailto:classpathx-javamail-bounces+conrad=pino.com@...]On Behalf Of
> Chris Burdess
> Sent: Tuesday, November 27, 2007 00:49
> To: classpathx-javamail@...
> Subject: Re: [Classpathx-javamail] GNU JavaMail - HEAD compile error
>
>
> Conrad T. Pino wrote:
> > GNU JavaMail 1.1.2 compiles with:
> >
> >   GNU inetlib 1.1.1
> >   GNU JAF 1.1.1
> >
> > however the HEAD revision does not (see messages below).
> >
> > The problem is class "gnu.inet.util.LaconicFormatter" which
> > was never released in packaged form and is available only in
> > source form as the HEAD revision of "GNU inetlib" project.
>
> Yes, I need to do a point release of inetlib. I'll do that during today.
> --
> Chris Burdess



_______________________________________________
Classpathx-javamail mailing list
Classpathx-javamail@...
http://lists.gnu.org/mailman/listinfo/classpathx-javamail