[873]nobu:adc:trunk$ ant samples
Buildfile: build.xml
download-ivy:
[echo] Installing Ivy for automated dependecy management...
[get] Getting:
http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.0.0-beta2/ivy-2.0.0-beta2.jar
[get] To: /Users/adc/.ant/lib/ivy.jar
[get] Not modified - so not downloaded
load-ivy:
retrieve-dependencies:
No ivy:settings found for the default reference 'ivy.instance'. A
default instance will be used
[null] no settings file found, using default...
[null] :: Ivy 2.0.0-beta2 - 20080225093827 :: http://ant.apache.org/ivy/
::
[null] :: loading settings :: url = jar:file:/Users/adc/.ant/lib/
ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: org.jsecurity#jsecurity;
0.9.0
[ivy:retrieve] confs: [core, web, ehcache, quartz, spring, samples,
retroweaver, test, docbook]
[ivy:retrieve] found commons-logging#commons-logging;1.1.1 in public
[ivy:retrieve] found commons-beanutils#commons-beanutils;1.7.0 in
public
[ivy:retrieve] found javax.servlet#servlet-api;2.4 in public
[ivy:retrieve] found javax.servlet.jsp#jsp-api;2.0 in public
[ivy:retrieve] found net.sf.ehcache#ehcache;1.4.1 in public
[ivy:retrieve] found quartz#quartz;1.5.2 in public
[ivy:retrieve] found org.springframework#spring;2.5.6 in public
[ivy:retrieve] found org.springframework#spring-webmvc;2.5.6 in public
[ivy:retrieve] found backport-util-concurrent#backport-util-
concurrent;3.1 in public
[ivy:retrieve] found xerces#xercesImpl;2.8.1 in public
[ivy:retrieve] found log4j#log4j;1.2.15 in public
[ivy:retrieve] found javax.servlet#jstl;1.2 in public
[ivy:retrieve] found taglibs#standard;1.1.2 in public
[ivy:retrieve] found hsqldb#hsqldb;1.8.0.7 in public
[ivy:retrieve] found org.hibernate#hibernate;3.2.6.ga in public
[ivy:retrieve] found asm#asm-attrs;1.5.3 in public
[ivy:retrieve] found dom4j#dom4j;1.6.1 in public
[ivy:retrieve] found antlr#antlr;2.7.6 in public
[ivy:retrieve] found cglib#cglib;2.1_3 in public
[ivy:retrieve] found asm#asm;1.5.3 in public
[ivy:retrieve] found commons-collections#commons-collections;2.1.1 in
public
[ivy:retrieve] found org.apache.geronimo.specs#geronimo-
jta_1.0.1B_spec;1.1.1 in public
[ivy:retrieve] found net.sourceforge.retroweaver#retroweaver;2.0.5 in
public
[ivy:retrieve] found asm#asm-commons;3.1 in public
[ivy:retrieve] found asm#asm-tree;3.1 in public
[ivy:retrieve] found asm#asm;3.1 in public
[ivy:retrieve] found asm#asm-util;3.1 in public
[ivy:retrieve] found net.sourceforge.retroweaver#retroweaver-rt;2.0.5
in public
[ivy:retrieve] found org.jsecurity#docbook-libs;1.0.0 in public
[ivy:retrieve] found org.easymock#easymock;2.3 in public
[ivy:retrieve] found org.easymock#easymockclassextension;2.3 in public
[ivy:retrieve] found junit#junit;4.4 in public
[ivy:retrieve] :: resolution report :: resolve 903ms :: artifacts dl
24ms
[ivy:retrieve] :: evicted modules:
[ivy:retrieve] net.sf.ehcache#ehcache;1.2.3 by
[net.sf.ehcache#ehcache;1.4.1] in [samples, test]
[ivy:retrieve] commons-logging#commons-logging;1.0.4 by [commons-
logging#commons-logging;1.1.1] in [samples, test]
[ivy:retrieve] asm#asm;1.5.3 by [asm#asm;3.1] in [test]
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| core | 2 | 0 | 0 | 0 || 2 | 0 |
| web | 4 | 0 | 0 | 0 || 4 | 0 |
| ehcache | 3 | 0 | 0 | 0 || 3 | 0 |
| quartz | 3 | 0 | 0 | 0 || 3 | 0 |
| spring | 6 | 0 | 0 | 0 || 6 | 0 |
| samples | 24 | 0 | 0 | 2 || 22 | 0 |
| retroweaver | 7 | 0 | 0 | 0 || 7 | 0 |
| test | 34 | 0 | 0 | 3 || 31 | 0 |
| docbook | 1 | 0 | 0 | 0 || 1 | 0 |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.jsecurity#jsecurity [sync]
[ivy:retrieve] confs: [core, web, ehcache, quartz, spring, samples,
retroweaver, test, docbook]
[ivy:retrieve] 0 artifacts copied, 79 already retrieved (0kB/73ms)
init:
compile:
[echo] Compiling all modules...
template:
[echo] Executing 'compile' for the core module...
compile.src:
[javac] Compiling 28 source files to /Users/adc/dev/jsecurity/
trunk/core/build/classes
compile.test:
compile:
[echo] Executing 'compile' for the web module...
compile.src:
[javac] Compiling 9 source files to /Users/adc/dev/jsecurity/
trunk/web/build/classes
compile.test:
compile:
[echo] Executing 'compile' for the ehcache module...
compile.src:
[javac] Compiling 1 source file to /Users/adc/dev/jsecurity/trunk/
support/ehcache/build/classes
compile:
[echo] Executing 'compile' for the spring module...
compile.src:
[javac] Compiling 3 source files to /Users/adc/dev/jsecurity/
trunk/support/spring/build/classes
compile.test:
compile:
[echo] Executing 'compile' for the quartz module...
compile.src:
[javac] Compiling 1 source file to /Users/adc/dev/jsecurity/trunk/
support/quartz/build/classes
compile:
jar.jdk15:
BUILD FAILED
/Users/adc/dev/jsecurity/trunk/common.ant.xml:118: /Users/adc/dev/
jsecurity/trunk/build/classes not found.
Total time: 4 seconds
[874]nobu:adc:trunk$
On Jan 21, 2009, at 9:28 AM, Jeremy Haile wrote:
I just built the samples successfully with no errors with the latest
code from trunk. If you provide more information about how/why your
targets failed, I'd be happy to help diagnose/correct the problem.
On Jan 21, 2009, at 10:15 AM, Alan D. Cabrera wrote:
Ok, I did try that and the targets failed. Do they work for you
guys?
Regards,
Alan
On Jan 21, 2009, at 6:57 AM, Jeremy Haile wrote:
Alan,
With ant, you can type "ant -p" to get a list of all of the
targets and their descriptions. There's no need to go digging
through an ant file. If you do that, you'll see there are several
"samples" related ant targets, but the one you are interested in
is probably the "samples" target which builds all of the sample
applications.
Jeremy
On Jan 21, 2009, at 2:08 AM, Alan D. Cabrera wrote:
I'm having trouble building the samples and am loath to read the
Ant files. :)
What are the commands to build them?
Regards,
Alan