I noticed that I didn't give instructions for setting up for ant builds
from the command line. I'll probably do that in the morning. Also,
Mike's making more changes right now that will probably cause some further
updates.
I've update these instructions and checked in changes to get the ant
scripts to work once again
servlet-api.jar
xmlsec-1.3.0.jar
depends.sts.binding.axis.service
axiom-api-1.0.jar
axis.jar
commons-logging-1.0.4.jar
jaxrpc.jar
saaj.jar
depends.sts.binding.axis.transfer
axis.jar
commons-logging-1.0.4.jar
jaxrpc.jar
saaj.jar
servlet-api.jar
depends.sts.binding.axis.types
axis.jar
jaxrpc.jar
depends.sts.core
axiom-api-1.0.jar
axis.jar
commons-logging-1.0.4.jar
jaxrpc.jar
saaj.jar
servlet-api.jar
stax-api-1.0.jar
xercesImpl.jar
xmlsec-1.3.0.jar
depends.sts.extension.samltoken
axiom-api-1.0.jar
commons-logging-1.0.4.jar
servlet-api.jar
xmlsec-1.3.0.jar
depends.sts.extension.usernametoken
axiom-api-1.0.jar
commons-logging-1.0.4.jar
servlet-api.jar
xmlsec-1.3.0.jar
depends.sts.informationcardgenerator
<nothing here yet>
If you add these directories at the root of your
Eclipse workspace
directory it will save you a lot of time later. If
you at least put
them all in the same place it will save a little time
later.
3) In Eclipse, do this: Window, Preferences..., Java, Build
Path,
Classpath Variables.
3.1) For each name below, press New, enter the
name, then enter the path
to the corresponding dependency directory you built
above
STS_BINDING_AXIS_CORE_DEPENDS (My path
is
C:/Data/Higgins/depends.sts.binding.axis.core)
STS_BINDING_AXIS_SERVICE_DEPENDS
(My path
is
C:/Data/Higgins/depends.sts.binding.axis.service)
STS_BINDING_AXIS_TRANSFER_DEPENDS
(My path
is
C:/Data/Higgins/depends.sts.binding.axis.transfer)
STS_BINDING_AXIS_TYPES_DEPENDS
(My path is
C:/Data/Higgins/depends.sts.binding.axis.types)
STS_CORE_DEPENDS (My path is C:/Data/Higgins/depends.sts.core)
STS_EXTENSION_SAML_TOKEN_DEPENDS (My path
is
C:/Data/Higgins/depends.sts.extension.samltoken)
STS_EXTENSION_USERNAME_TOKEN_DEPENDS (My path
is
C:/Data/Higgins/depends.sts.extension.usernametoken)
STS_INFORMATION_CARD_GENERATOR_DEPENDS (My path
is
C:/Data/Higgins/depends.sts.informationcardgenerator)
4) <here's
the redundant part> In Eclipse, do this: Window,
Preferences...,
Ant, Runtime, Properties (tab)
4.1) For each name below, press Add Property,
enter the name, then enter
the path to the corresponding dependency directory
you built above.
Note, you can use a variable here like I
did.
sts.binding.axis.core.depends (My path
is
${workspace_loc}/depends.sts.binding.axis.core/
sts.binding.axis.service.depends
(My path
is
${workspace_loc}/depends.sts.binding.axis.service/
sts.binding.axis.transfer.depends
(My path
is
${workspace_loc}/depends.sts.binding.axis.transfer/
sts.binding.axis.types.depends
(My path
is
${workspace_loc}/depends.sts.binding.axis.types/
sts.core.depends (My
path is ${workspace_loc}/depends.sts.core/
sts.extension.samltoken.depends
(My path
is
${workspace_loc}/depends.sts.extension.samltoken/
sts.extension.usernametoken.depends
(My path
is
${workspace_loc}/depends.sts.extension.usernametoken/
sts.informationcardgenerator.depends
(My path
is
${workspace_loc}/depends.sts.informationcardgenerator/
That
should be it unless I forgot something. I'm sure there are tricks
to
reduce the redundancy, I'll keep poking around.
Building the projects
will cause the ant scripts to be used. To build
manually or pick the
target you want to execute, add the ant scripts
like this:
6) In Eclipse,
do this: Window, Show View, Ant. An Ant Browser appears.
Right-Click,
Add Buildfiles..., browse to the buildfile (build.xml) you
want to add and
select it. You can double click the build file to build
the default
target, or expand it to see all the targets available
Note that the STS
Core build file has a jarAllSTS -- this will force all
the jars to be
built. I think I'll add a warAllSTS once I get a couple
more war
targets
done.
Jim
**********************************************************************
This
email and any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy all
copies of the original
message.
_______________________________________________
higgins-dev
mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev