SAML 1.1 Java Toolkit 2.0 not building

Kieran Shaw <[email protected]> Mon, 17 Jan 2005 16:56:36 +0000
Newsgroups gmane.comp.sourceid.sso.user
Message-ID <[email protected]>
I have downloaded and unpacked the "SAML 1.1 Java Toolkit 2.0 Beta".

After following the instructions in the README file, it refuses to
build (see below). Any ideas?

Thanks
Kieran


"C:\apps\packages\SAML 1.1 Java Toolkit 2.0
Beta\SAML_1.1_Java_Toolkit_2.0>ant demo-deploy
Buildfile: build.xml

infrastructure-package:

generate-xml-uptodate:

generate-xml:
  [xmlbean] Time to build schema type system: 6.812 seconds
  [xmlbean] Time to generate code: 13.61 seconds
  [xmlbean] Since fork is true, ignoring compiler setting.
  [xmlbean] Compiling 743 source files to
C:\DOCUME~1\KIERAN~1\LOCALS~1\Temp\xbean7459.d\classes
  [xmlbean] Since fork is true, ignoring compiler setting.
  [xmlbean] javac: invalid flag: C:\apps\packages\SAML
  [xmlbean] Usage: javac <options> <source files>
  [xmlbean] where possible options include:
  [xmlbean]   -g                        Generate all debugging info
  [xmlbean]   -g:none                   Generate no debugging info
  [xmlbean]   -g:{lines,vars,source}    Generate only some debugging info
  [xmlbean]   -nowarn                   Generate no warnings
  [xmlbean]   -verbose                  Output messages about what the
compiler is doing
  [xmlbean]   -deprecation              Output source locations where
deprecated APIs are used
  [xmlbean]   -classpath <path>         Specify where to find user class
files
  [xmlbean]   -sourcepath <path>        Specify where to find input
source files
  [xmlbean]   -bootclasspath <path>     Override location of bootstrap
class files
  [xmlbean]   -extdirs <dirs>           Override location of installed
extensions
  [xmlbean]   -d <directory>            Specify where to place generated
class files
  [xmlbean]   -encoding <encoding>      Specify character encoding used
by source files
  [xmlbean]   -source <release>         Provide source compatibility
with specified release
  [xmlbean]   -target <release>         Generate class files for
specific VM version
  [xmlbean]   -help                     Print a synopsis of standard options

  [xmlbean] Exception while building schemas: Compile failed; see the
compiler error output for details.

clean-classes:
   [delete] Deleting directory C:\apps\packages\SAML 1.1 Java Toolkit
2.0 Beta\Infrastructure\build\classes

generate-mbean-uptodate:

generate-mbean:

compile-classes:
    [mkdir] Created dir: C:\apps\packages\SAML 1.1 Java Toolkit 2.0
Beta\Infrastructure\build\classes
    [javac] Compiling 56 source files to C:\apps\packages\SAML 1.1 Java
Toolkit 2.0 Beta\Infrastructure\build\classes
    [javac] C:\apps\packages\SAML 1.1 Java Toolkit 2.0
Beta\Infrastructure\src\java\org\sourceid\common\Artifact.java:24:
package org.sourceid.protocol.samlp11.xml does not exist
    [javac] import org.sourceid.protocol.samlp11.xml.StatusType;
    [javac]                                          ^
    [javac] C:\apps\packages\SAML 1.1 Java Toolkit 2.0
Beta\Infrastructure\src\java\org\sourceid\common\Artifact.java:35:
cannot resolve symbol
    [javac] symbol  : class StatusType
    [javac] location: class org.sourceid.common.Artifact
    [javac]     private StatusType status;
    [javac]             ^
    [javac] C:\apps\packages\SAML 1.1 Java Toolkit 2.0
Beta\Infrastructure\src\java\org\sourceid\common\Artifact.java:75:
cannot resolve symbol
    [javac] symbol  : class StatusType
    [javac] location: class org.sourceid.common.Artifact
    [javac]     public StatusType getStatusCodeValue()
    [javac]            ^
    [javac] C:\apps\packages\SAML 1.1 Java Toolkit 2.0
Beta\Infrastructure\src\java\org\sourceid\common\Artifact.java:116:
cannot resolve symbol"