cactus-user  

RE: How to set user principal in setUp()

Nicole Luneburg
Sun, 11 Jan 2009 21:13:35 -0800

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 
ivy-2.0.0-rc2.jar
Buildfile: build.xml
  [taskdef] Could not load definitions from resource 
net/sf/antcontrib/antcontrib.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 = C:\Sandbox\cactus\samples\ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: apache#hello-ivy;work...@wasabi
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found 
org.apache.cactus#cactus.core.framework.uberjar.javaEE.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|dwnlded|
        ---------------------------------------------------------------------
        |      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.integration.ant;1.8.1-SNAPSHOT
[ivy:retrieve]  ==== 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.integration.ant-1.8.1-SNAPSHOT.jar
[ivy:retrieve]  ==== 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.integration.ant-1.8.1-SNAPSHOT.jar
[ivy:retrieve]    
http://red5.googlecode.com/svn/repository/org.apache.cactus/cactus.integration.ant-1.8.1-SNAPSHOT.jar
[ivy:retrieve]          module not found: javax.servlet#jstl;1.1.2
[ivy:retrieve]  ==== default: tried
[ivy:retrieve]    C:\Documents and 
Settings\nlunebur/.ivy2/cache/javax.servlet/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]  ==== 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/jstl-1.1.2.jar
[ivy:retrieve]          module not found: 
org.apache.geronimo.specs#geronimo-ejb_3.0_spec;1.0
[ivy:retrieve]  ==== 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_spec;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]  ==== googlecode: tried
[ivy:retrieve]    -- artifact 
org.apache.geronimo.specs#geronimo-ejb_3.0_spec;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.geronimo.specs/geronimo-ejb_3.0_spec-1.0.jar
[ivy:retrieve]          module not found: jaxen#jaxen;1.1.1
[ivy:retrieve]  ==== default: tried
[ivy:retrieve]    C:\Documents and 
Settings\nlunebur/.ivy2/cache/jaxen/jaxen/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]  ==== 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-SNAPSHOT: 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 
dependencies:
        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 email 
is free of viruses or other defects. If you have received this communication 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 incorrect receipt of this 
correspondence.

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: cactus-user-h...@jakarta.apache.org