mace-opensaml-users - Getting OpenSaml2 workspace to build from command line
Subject: OpenSAML user discussion
List archive
- From: "Anil Saldhana" <>
- To:
- Subject: Getting OpenSaml2 workspace to build from command line
- Date: Mon, 27 Nov 2006 15:46:21 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=XLZinVItCKOt9S+/BLJisyGegrtuvBP1YnZUXNvfeWVWTtseYpHPZWaxFDI4Kc5+dy0K84F9zb1F/3+ZW0ZtY87aqMtS3hWXZELlAllaAhaLFH3ObferCQVFfpDsHgv8UywrRxPOniH5sWvKpBcmkTFBlxY969LFFMgErv+D/Gg=
I could get the eclipse projects working for the three modules (OpenSAML2, Open-WS and XMLTooling)
But I am unable to get the command line builds to work. I would like to see the jars built in the dist directory.
The issues are:
a) Need to clear the tests to get the archives.
b) Use of <if> ant task (which is contrib and not standard IMO)
c) There is no real relationship between the three modules when using ant command line.
OpenSAML 1 was a breeze in checkout, build and test.
I understand that opensaml2 is still in development. But is it possible to get the workspaces to build with little setup
for a new comer?
An issue I see building the XMLTooling project is that the "test" target is choking
===================
I am using JDK5. Do I need to do endorsement specifically or the system property ${ java.endorsed.dirs} that is with
java.endorsed.dirs=c:\java
\jdk1.5.0_04\jre\lib\endorsed
is sufficient?
The error is:
2006-07-30 22:07:07,078 ERROR [Configuration#validateConfiguration:574] Configur
ation file does not validate against schema
org.xml.sax.SAXParseException: UndeclaredPrefix: Cannot resolve 'test:SimpleElem
ent' as a QName: the prefix 'test' is not declared.
at com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseExc
eption(Util.java:109)
at com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdapto
r.error(ErrorHandlerAdaptor.java:104)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError (
XMLErrorReporter.java:382)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
XMLErrorReporter.java:316)
I can see that the internal sun xerces parser is kicking in.
Can the instructions at:
https://authdev.it.ohio-state.edu/twiki/bin/view/Shibboleth/OSTwoDevManJavaBuild
be updated such that I can clean build OpenSaml2.
Currently, it is failing in "test" target of XMLTooling module.
======================================================
Cheers,
Anil
is sufficient?
The error is:
2006-07-30 22:07:07,078 ERROR [Configuration#validateConfiguration:574] Configur
ation file does not validate against schema
org.xml.sax.SAXParseException: UndeclaredPrefix: Cannot resolve 'test:SimpleElem
ent' as a QName: the prefix 'test' is not declared.
at com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseExc
eption(Util.java:109)
at com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdapto
r.error(ErrorHandlerAdaptor.java:104)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError (
XMLErrorReporter.java:382)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
XMLErrorReporter.java:316)
I can see that the internal sun xerces parser is kicking in.
Can the instructions at:
https://authdev.it.ohio-state.edu/twiki/bin/view/Shibboleth/OSTwoDevManJavaBuild
be updated such that I can clean build OpenSaml2.
Currently, it is failing in "test" target of XMLTooling module.
======================================================
Cheers,
Anil
- Getting OpenSaml2 workspace to build from command line, Anil Saldhana, 11/27/2006
- Re: Getting OpenSaml2 workspace to build from command line, Chad La Joie, 11/27/2006
Archive powered by MHonArc 2.6.16.