SAML 1.1 Java Toolkit 2.0 not building

"SV Raghu" <[email protected]> Sat, 22 Jul 2006 17:51:26 +0300
Newsgroups gmane.comp.sourceid.sso.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============1030468557==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C6AD9E.4E8FA6B7"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C6AD9E.4E8FA6B7
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Dear SSO-DEV,
=20
When trying to build SAML 1.1 Java Toolkit 2.0 it is refusing to build
throwing the following error.
=20
Can somebody please help me.
=20
C:\saml-toolkit\SAML 1.1 Java Toolkit
2.0\SAML_1.1_Java_Toolkit_2.0>F:\ant\jakar
ta-ant-1.5.1\bin\ant demo-deploy
Buildfile: build.xml
=20
infrastructure-package:
=20
generate-xml-uptodate:
=20
generate-xml:
  [xmlbean] Time to build schema type system: 4.765 seconds
  [xmlbean] Time to generate code: 18.532 seconds
  [xmlbean] Since fork is true, ignoring compiler setting.
  [xmlbean] Compiling 743 source files to
C:\DOCUME~1\c90008\LOCALS~1\Temp\xbean
28060.d\classes
  [xmlbean] Since fork is true, ignoring compiler setting.
  [xmlbean] javac: invalid flag: C:\saml-toolkit\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
=20
  [xmlbean]   -bootclasspath <path>     Override location of bootstrap
class fil
es
  [xmlbean]   -extdirs <dirs>           Override location of installed
extension
s
  [xmlbean]   -d <directory>            Specify where to place generated
class f
iles
  [xmlbean]   -encoding <encoding>      Specify character encoding used
by sourc
e files
  [xmlbean]   -source <release>         Provide source compatibility
with specif
ied release
  [xmlbean]   -target <release>         Generate class files for
specific VM ver
sion
  [xmlbean]   -help                     Print a synopsis of standard
options
=20
  [xmlbean] Exception while building schemas: Compile failed; see the
compiler e
rror output for details.
=20
clean-classes:
   [delete] Deleting directory C:\saml-toolkit\SAML 1.1 Java Toolkit
2.0\Infrast
ructure\build\classes
=20
generate-mbean-uptodate:
=20
generate-mbean:
=20
compile-classes:
    [mkdir] Created dir: C:\saml-toolkit\SAML 1.1 Java Toolkit
2.0\Infrastructur
e\build\classes
    [javac] Compiling 57 source files to C:\saml-toolkit\SAML 1.1 Java
Toolkit 2
.0\Infrastructure\build\classes
    [javac] C:\saml-toolkit\SAML 1.1 Java Toolkit
2.0\Infrastructure\src\java\or
g\sourceid\common\Artifact.java:24: package
org.sourceid.protocol.samlp11.xml do
es not exist
    [javac] import org.sourceid.protocol.samlp11.xml.StatusType;
    [javac]                                          ^
    [javac] C:\saml-toolkit\SAML 1.1 Java Toolkit
2.0\Infrastructure\src\java\or
g\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:\saml-toolkit\SAML 1.1 Java Toolkit
2.0\Infrastructure\src\java\or
g\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:\saml-toolkit\SAML 1.1 Java Toolkit
2.0\Infrastructure\src\java\or
g\sourceid\common\Artifact.java:116: cannot resolve symbol
    [javac] symbol  : class StatusType
    [javac] location: class org.sourceid.common.Artifact
    [javac]     public static Artifact generate(byte typecode1, byte
typecode2,
String sourceID, String issuedTo, StatusType status)
    [javac]
                                  ^
    [javac] C:\saml-toolkit\SAML 1.1 Java Toolkit
2.0\Infrastructure\src\java\or
g\sourceid\common\Artifact.java:121: cannot resolve symbol
    [javac] symbol  : class StatusType
=20
=20
=20
Regards Raghu

------_=_NextPart_001_01C6AD9E.4E8FA6B7
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1555" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D250563814-22072006>Dear=20
SSO-DEV,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D250563814-22072006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D250563814-22072006>When =
trying to build=20
<STRONG>SAML 1.1 Java Toolkit 2.0</STRONG> <STRONG>it is refusing to =
build=20
throwing the following error.</STRONG></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D250563814-22072006><STRONG></STRONG></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D250563814-22072006><STRONG>Can somebody=20
please help me.</STRONG></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D250563814-22072006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D250563814-22072006></SPAN></FONT><FONT=20
face=3DArial size=3D2>C:\saml-toolkit\SAML 1.1 Java Toolkit=20
2.0\SAML_1.1_Java_Toolkit_2.0&gt;F:\ant\jakar<BR>ta-ant-1.5.1\bin\ant=20
demo-deploy<BR>Buildfile: build.xml</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>infrastructure-package:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>generate-xml-uptodate:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>generate-xml:<BR>&nbsp; [xmlbean] Time =
to build=20
schema type system: 4.765 seconds<BR>&nbsp; [xmlbean] Time to generate =
code:=20
18.532 seconds<BR>&nbsp; [xmlbean] Since fork is true, ignoring compiler =

setting.<BR>&nbsp; [xmlbean] Compiling 743 source files to=20
C:\DOCUME~1\c90008\LOCALS~1\Temp\xbean<BR>28060.d\classes<BR>&nbsp; =
[xmlbean]=20
Since fork is true, ignoring compiler setting.<BR>&nbsp; [xmlbean] =
javac:=20
invalid flag: C:\saml-toolkit\SAML<BR>&nbsp; [xmlbean] Usage: javac=20
&lt;options&gt; &lt;source files&gt;<BR>&nbsp; [xmlbean] where possible =
options=20
include:<BR>&nbsp; [xmlbean]&nbsp;&nbsp;=20
-g&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Generate all debugging info<BR>&nbsp; [xmlbean]&nbsp;&nbsp;=20
-g:none&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Generate no debugging info<BR>&nbsp; [xmlbean]&nbsp;&nbsp;=20
-g:{lines,vars,source}&nbsp;&nbsp;&nbsp; Generate only some debugging=20
info<BR>&nbsp; [xmlbean]&nbsp;&nbsp;=20
-nowarn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Generate no warnings<BR>&nbsp; [xmlbean]&nbsp;&nbsp;=20
-verbose&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Output messages about what the compiler<BR>is doing<BR>&nbsp;=20
[xmlbean]&nbsp;&nbsp;=20
-deprecation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;=20
Output source locations where deprecated<BR>&nbsp;APIs are =
used<BR>&nbsp;=20
[xmlbean]&nbsp;&nbsp; -classpath=20
&lt;path&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Specify =
where to=20
find user class files<BR>&nbsp; [xmlbean]&nbsp;&nbsp; -sourcepath=20
&lt;path&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Specify where to =
find=20
input source files</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; [xmlbean]&nbsp;&nbsp; =
-bootclasspath=20
&lt;path&gt;&nbsp;&nbsp;&nbsp;&nbsp; Override location of bootstrap =
class=20
fil<BR>es<BR>&nbsp; [xmlbean]&nbsp;&nbsp; -extdirs=20
&lt;dirs&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

Override location of installed extension<BR>s<BR>&nbsp; =
[xmlbean]&nbsp;&nbsp; -d=20
&lt;directory&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
Specify where to place generated class f<BR>iles<BR>&nbsp; =
[xmlbean]&nbsp;&nbsp;=20
-encoding &lt;encoding&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Specify =
character=20
encoding used by sourc<BR>e files<BR>&nbsp; [xmlbean]&nbsp;&nbsp; =
-source=20
&lt;release&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Provide =
source=20
compatibility with specif<BR>ied release<BR>&nbsp; [xmlbean]&nbsp;&nbsp; =
-target=20
&lt;release&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Generate =
class=20
files for specific VM ver<BR>sion<BR>&nbsp; [xmlbean]&nbsp;&nbsp;=20
-help&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Print a synopsis of standard options</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; [xmlbean] Exception while =
building schemas:=20
Compile failed; see the compiler e<BR>rror output for =
details.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>clean-classes:<BR>&nbsp;&nbsp; [delete] =
Deleting=20
directory C:\saml-toolkit\SAML 1.1 Java Toolkit=20
2.0\Infrast<BR>ructure\build\classes</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>generate-mbean-uptodate:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>generate-mbean:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>compile-classes:<BR>&nbsp;&nbsp;&nbsp; =
[mkdir]=20
Created dir: C:\saml-toolkit\SAML 1.1 Java Toolkit=20
2.0\Infrastructur<BR>e\build\classes<BR>&nbsp;&nbsp;&nbsp; [javac] =
Compiling 57=20
source files to C:\saml-toolkit\SAML 1.1 Java Toolkit=20
2<BR>.0\Infrastructure\build\classes<BR>&nbsp;&nbsp;&nbsp; [javac]=20
C:\saml-toolkit\SAML 1.1 Java Toolkit=20
2.0\Infrastructure\src\java\or<BR>g\sourceid\common\Artifact.java:24: =
package=20
org.sourceid.protocol.samlp11.xml do<BR>es not =
exist<BR>&nbsp;&nbsp;&nbsp;=20
[javac] import=20
org.sourceid.protocol.samlp11.xml.StatusType;<BR>&nbsp;&nbsp;&nbsp;=20
[javac]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
^<BR>&nbsp;&nbsp;&nbsp; [javac] C:\saml-toolkit\SAML 1.1 Java Toolkit=20
2.0\Infrastructure\src\java\or<BR>g\sourceid\common\Artifact.java:35: =
cannot=20
resolve symbol<BR>&nbsp;&nbsp;&nbsp; [javac] symbol&nbsp; : class=20
StatusType<BR>&nbsp;&nbsp;&nbsp; [javac] location: class=20
org.sourceid.common.Artifact<BR>&nbsp;&nbsp;&nbsp;=20
[javac]&nbsp;&nbsp;&nbsp;&nbsp; private StatusType =
status;<BR>&nbsp;&nbsp;&nbsp;=20
[javac]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
^<BR>&nbsp;&nbsp;&nbsp; [javac] C:\saml-toolkit\SAML 1.1 Java Toolkit=20
2.0\Infrastructure\src\java\or<BR>g\sourceid\common\Artifact.java:75: =
cannot=20
resolve symbol<BR>&nbsp;&nbsp;&nbsp; [javac] symbol&nbsp; : class=20
StatusType<BR>&nbsp;&nbsp;&nbsp; [javac] location: class=20
org.sourceid.common.Artifact<BR>&nbsp;&nbsp;&nbsp;=20
[javac]&nbsp;&nbsp;&nbsp;&nbsp; public StatusType=20
getStatusCodeValue()<BR>&nbsp;&nbsp;&nbsp;=20
[javac]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
^<BR>&nbsp;&nbsp;&nbsp; [javac] C:\saml-toolkit\SAML 1.1 Java Toolkit=20
2.0\Infrastructure\src\java\or<BR>g\sourceid\common\Artifact.java:116: =
cannot=20
resolve symbol<BR>&nbsp;&nbsp;&nbsp; [javac] symbol&nbsp; : class=20
StatusType<BR>&nbsp;&nbsp;&nbsp; [javac] location: class=20
org.sourceid.common.Artifact<BR>&nbsp;&nbsp;&nbsp;=20
[javac]&nbsp;&nbsp;&nbsp;&nbsp; public static Artifact generate(byte =
typecode1,=20
byte typecode2,<BR>String sourceID, String issuedTo, StatusType=20
status)<BR>&nbsp;&nbsp;&nbsp;=20
[javac]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
^<BR>&nbsp;&nbsp;&nbsp; [javac] C:\saml-toolkit\SAML 1.1 Java Toolkit=20
2.0\Infrastructure\src\java\or<BR>g\sourceid\common\Artifact.java:121: =
cannot=20
resolve symbol<BR>&nbsp;&nbsp;&nbsp; [javac] symbol&nbsp; : class=20
StatusType</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D250563814-22072006><FONT face=3DArial =
size=3D2>Regards=20
Raghu</FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C6AD9E.4E8FA6B7--

--===============1030468557==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
sso-dev mailing list
[email protected]
http://lists.sourceid.org/mailman/listinfo/sso-dev

--===============1030468557==--