DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15317>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15317

'ant war' build error

           Summary: 'ant war' build error
           Product: Jetspeed
           Version: 1.4b2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Distribution
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


On starting the command 'ant war' to compile the sources i got several error
messages like:
compile:
    [javac] Compiling 566 source files to D:\java\jetspeed-1.4-b2\bin\classes
    [javac] D:\java\jetspeed-1.4-b2\src\java\org\apache\jetspeed\om\security\lda
p\BaseLDAPObject.java:57: Package javax.naming not found in import.
    [javac] import javax.naming.*;
    [javac]        ^
    [javac] D:\java\jetspeed-1.4-b2\src\java\org\apache\jetspeed\om\security\lda
p\BaseLDAPObject.java:58: Package javax.naming.directory not found in import.
    [javac] import javax.naming.directory.*;
    [javac]        ^
    [javac] D:\java\jetspeed-1.4-b2\src\java\org\apache\jetspeed\om\security\lda
p\BaseLDAPObject.java:73: Interface org.apache.jetspeed.om.security.ldap.DirCont
ext of class org.apache.jetspeed.om.security.ldap.BaseLDAPObject not found.
    [javac] public class BaseLDAPObject implements DirContext
    [javac]                                        ^
    [javac] D:\java\jetspeed-1.4-b2\src\java\org\apache\jetspeed\om\security\lda
p\LDAPGroup.java:59: Class javax.naming.directory.Attribute not found in import.

    [javac] import javax.naming.directory.Attribute;
    [javac]        ^
    [javac] D:\java\jetspeed-1.4-b2\src\java\org\apache\jetspeed\om\security\lda
p\LDAPGroup.java:60: Class javax.naming.directory.BasicAttribute not found in im


the reason is that the jndi library is missing in the lib directory.

To solve the problem i copied the jndi.jar file of the tomcat4.2 distribution
into 'jetspeed-1.4-b2/lib'. After that the compilation works fine.

Regards Holger

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to