RE: How to set user principal in setUp()

Nicole Luneburg <[email protected]> Mon, 12 Jan 2009 15:42:51 +1030
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
Hi,

Hope you had a good weekend!

I've got as far as getting a new error (so not getting "far" at all hehe!):

C:\Sandbox\cactus\samples\ejb3>c:\programs\apache-ant-1.7.1\bin\ant -lib iv=
y-2.0.0-rc2.jar
Buildfile: build.xml
  [taskdef] Could not load definitions from resource net/sf/antcontrib/antc=
ontrib.properties. It could not be found.

init:
     [echo] C:\programs\jboss-4.2.2.GA

prepare:

resolve:
[ivy:configure] :: Ivy 2.0.0-rc2 - 20081028224207 :: http://ant.apache.org/=
ivy/ ::
:: loading settings :: file =3D C:\Sandbox\cactus\samples\ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: apache#hello-ivy;working@wasabi
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found org.apache.cactus#cactus.core.framework.uberjar.javaE=
E.14;1.8.1-SNAPSHOT in local
[ivy:retrieve]  found org.apache.cactus#cactus.integration.shared.api;1.8.1=
-SNAPSHOT in local
[ivy:retrieve]  found commons-httpclient#commons-httpclient;3.1 in local
[ivy:retrieve]  found commons-logging#commons-logging;1.1 in local
[ivy:retrieve]  found commons-codec#commons-codec;1.3 in default
[ivy:retrieve]  found aspectj#aspectjrt;1.5.3 in local
[ivy:retrieve]  found xerces#xercesImpl;2.6.2 in local
[ivy:retrieve]  found org.codehaus.cargo#cargo-core-uberjar;1.0-alpha-4 in =
local
[ivy:retrieve]  found org.codehaus.cargo#cargo-ant;1.0-alpha-4 in local
[ivy:retrieve]  found javax.servlet#jsp-api;2.0 in local
[ivy:retrieve]  found javax.servlet#servlet-api;2.5 in default
[ivy:retrieve]  found jdom#jdom;1.0 in local
[ivy:retrieve]  found junit#junit;3.8.2 in local
[ivy:retrieve] :: resolution report :: resolve 2876ms :: artifacts dl 31ms
        -------------------------------------------------------------------=
--
        |                  |            modules            ||   artifacts  =
 |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlde=
d|
        -------------------------------------------------------------------=
--
        |      default     |   17  |   0   |   0   |   0   ||   13  |   0  =
 |
        -------------------------------------------------------------------=
--
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          module not found: org.apache.cactus#cactus.integrat=
ion.ant;1.8.1-SNAPSHOT
[ivy:retrieve]  =3D=3D=3D=3D default: tried
[ivy:retrieve]    C:\Documents and Settings\nlunebur/.ivy2/cache/org.apache=
.cactus/cactus.integration.ant/ivys/ivy-1.8.1-SNAPSHOT.xml
[ivy:retrieve]    -- artifact org.apache.cactus#cactus.integration.ant;1.8.=
1-SNAPSHOT!cactus.integration.ant.jar:
[ivy:retrieve]    C:\Sandbox\cactus\samples\ejb3/target/lib/cactus.integrat=
ion.ant-1.8.1-SNAPSHOT.jar
[ivy:retrieve]  =3D=3D=3D=3D googlecode: tried
[ivy:retrieve]    -- artifact org.apache.cactus#cactus.integration.ant;1.8.=
1-SNAPSHOT!cactus.integration.ant.jar:
[ivy:retrieve]    http://red5.googlecode.com/svn/repository/cactus.integrat=
ion.ant-1.8.1-SNAPSHOT.jar
[ivy:retrieve]    http://red5.googlecode.com/svn/repository/org.apache.cact=
us/cactus.integration.ant-1.8.1-SNAPSHOT.jar
[ivy:retrieve]          module not found: javax.servlet#jstl;1.1.2
[ivy:retrieve]  =3D=3D=3D=3D default: tried
[ivy:retrieve]    C:\Documents and Settings\nlunebur/.ivy2/cache/javax.serv=
let/jstl/ivys/ivy-1.1.2.xml
[ivy:retrieve]    -- artifact javax.servlet#jstl;1.1.2!jstl.jar:
[ivy:retrieve]    C:\Sandbox\cactus\samples\ejb3/target/lib/jstl-1.1.2.jar
[ivy:retrieve]  =3D=3D=3D=3D googlecode: tried
[ivy:retrieve]    -- artifact javax.servlet#jstl;1.1.2!jstl.jar:
[ivy:retrieve]    http://red5.googlecode.com/svn/repository/jstl-1.1.2.jar
[ivy:retrieve]    http://red5.googlecode.com/svn/repository/javax.servlet/j=
stl-1.1.2.jar
[ivy:retrieve]          module not found: org.apache.geronimo.specs#geronim=
o-ejb_3.0_spec;1.0
[ivy:retrieve]  =3D=3D=3D=3D default: tried
[ivy:retrieve]    C:\Documents and Settings\nlunebur/.ivy2/cache/org.apache=
.geronimo.specs/geronimo-ejb_3.0_spec/ivys/ivy-1.0.xml
[ivy:retrieve]    -- artifact org.apache.geronimo.specs#geronimo-ejb_3.0_sp=
ec;1.0!geronimo-ejb_3.0_spec.jar:
[ivy:retrieve]    C:\Sandbox\cactus\samples\ejb3/target/lib/geronimo-ejb_3.=
0_spec-1.0.jar
[ivy:retrieve]  =3D=3D=3D=3D googlecode: tried
[ivy:retrieve]    -- artifact org.apache.geronimo.specs#geronimo-ejb_3.0_sp=
ec;1.0!geronimo-ejb_3.0_spec.jar:
[ivy:retrieve]    http://red5.googlecode.com/svn/repository/geronimo-ejb_3.=
0_spec-1.0.jar
[ivy:retrieve]    http://red5.googlecode.com/svn/repository/org.apache.gero=
nimo.specs/geronimo-ejb_3.0_spec-1.0.jar
[ivy:retrieve]          module not found: jaxen#jaxen;1.1.1
[ivy:retrieve]  =3D=3D=3D=3D default: tried
[ivy:retrieve]    C:\Documents and Settings\nlunebur/.ivy2/cache/jaxen/jaxe=
n/ivys/ivy-1.1.1.xml
[ivy:retrieve]    -- artifact jaxen#jaxen;1.1.1!jaxen.jar:
[ivy:retrieve]    C:\Sandbox\cactus\samples\ejb3/target/lib/jaxen-1.1.1.jar
[ivy:retrieve]  =3D=3D=3D=3D googlecode: tried
[ivy:retrieve]    -- artifact jaxen#jaxen;1.1.1!jaxen.jar:
[ivy:retrieve]    http://red5.googlecode.com/svn/repository/jaxen-1.1.1.jar
[ivy:retrieve]    http://red5.googlecode.com/svn/repository/jaxen/jaxen-1.1=
.1.jar
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: org.apache.cactus#cactus.integration.ant;1.8.1-S=
NAPSHOT: not found
[ivy:retrieve]          :: javax.servlet#jstl;1.1.2: not found
[ivy:retrieve]          :: org.apache.geronimo.specs#geronimo-ejb_3.0_spec;=
1.0: not found
[ivy:retrieve]          :: jaxen#jaxen;1.1.1: not found
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
C:\Sandbox\cactus\samples\ejb3\build.xml:108: impossible to resolve depende=
ncies:
        resolve failed - see output for details

Total time: 3 seconds

But it seems to be an ivy specific problem?

The contents of this email are confidential and may be subject to legal or =
professional privilege and copyright. No representation is made that this e=
mail is free of viruses or other defects. If you have received this communi=
cation in error, you may not copy or distribute any part of it or otherwise=
 disclose its contents to anyone. Please advise the sender of your incorrec=
t receipt of this correspondence.