Skip to Content.
Sympa Menu

mace-opensaml-users - Re: can't compile shibboleth from cvs

Subject: OpenSAML user discussion

List archive

Re: can't compile shibboleth from cvs


Chronological Thread 
  • From: Jason Novotny <>
  • To:
  • Subject: Re: can't compile shibboleth from cvs
  • Date: Wed, 02 Mar 2005 06:44:48 +0000


Hi again,

I just updated from CVS and seeing some new issues-- I'm using JDK 1.4.2 on OS X (Apple hasn't released 1.5 so the imports the code needs aren't available). You might want to consider using anthill or cruisecontrol just to make sure notifications are sent out if checked in code doesn't compile. Another idea possibly is maintaining another branch for JDK 1.4 compatibility.

Thanks, Jason

compile:
[javac] Compiling 161 source files to /Users/novotny/Jakarta/shibboleth/java/webApplication/WEB-INF/classes
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/Parser.java:36: package javax.xml.validation does not exist
[javac] import javax.xml.validation.Schema;
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/Schemas.java:12: package javax.xml.validation does not exist
[javac] import javax.xml.validation.Schema;
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/Schemas.java:19: cannot resolve symbol
[javac] symbol : class Schema
[javac] location: interface edu.internet2.middleware.shibboleth.xml.Schemas
[javac] Schema compileSchema(String[] namespaces);
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/Parser.java:86: cannot resolve symbol
[javac] symbol : class Schema
[javac] location: class edu.internet2.middleware.shibboleth.xml.Parser
[javac] private static Schema schema = schemaBuilder.compileSchema(namespaces);
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/SchemasDirectoryImpl.java:16: cannot resolve symbol
[javac] symbol : class XMLConstants
[javac] location: package xml
[javac] import javax.xml.XMLConstants;
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/SchemasDirectoryImpl.java:19: package javax.xml.validation does not exist
[javac] import javax.xml.validation.Schema;
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/SchemasDirectoryImpl.java:20: package javax.xml.validation does not exist
[javac] import javax.xml.validation.SchemaFactory;
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/SchemasDirectoryImpl.java:71: cannot resolve symbol
[javac] symbol : class Schema
[javac] location: class edu.internet2.middleware.shibboleth.xml.SchemasDirectoryImpl
[javac] public Schema compileSchema(String[] namespaces) {
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/SchemasDirectoryImpl.java:73: cannot resolve symbol
[javac] symbol : class Schema
[javac] location: class edu.internet2.middleware.shibboleth.xml.SchemasDirectoryImpl
[javac] Schema schema = null;
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/SchemasDirectoryImpl.java:137: cannot resolve symbol
[javac] symbol : class SchemaFactory
[javac] location: class edu.internet2.middleware.shibboleth.xml.SchemasDirectoryImpl
[javac] SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/SchemasDirectoryImpl.java:137: cannot resolve symbol
[javac] symbol : variable XMLConstants
[javac] location: class edu.internet2.middleware.shibboleth.xml.SchemasDirectoryImpl
[javac] SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
[javac] ^
[javac] /Users/novotny/Jakarta/shibboleth/java/src/edu/internet2/middleware/shibboleth/xml/SchemasDirectoryImpl.java:137: cannot resolve symbol
[javac] symbol : variable SchemaFactory
[javac] location: class edu.internet2.middleware.shibboleth.xml.SchemasDirectoryImpl
[javac] SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
[javac] ^
[javac] 12 errors

BUILD FAILED



Scott Cantor wrote:

Is there a good tag or date to work off of, just for the timebeing?

We don't tag much of anything apart from releases. The 1.2 branch is stable,
but quite different. Since I don't know what you're doing, it's hard for me
to say.

-- Scott






Archive powered by MHonArc 2.6.16.

Top of Page