My guess is that too much has changed since I wrote this blog post, that's the problem with working with snapshots. :(

As far as using Maven under-the-covers: yes, AppFuse Light uses Maven Ant Tasks to resolve dependencies. Back in AppFuse 1.x days, we kept all JARs in the distribution and it was too much of a pain to upgrade all the time.

I'll be fixing the issues you see below as part of AppFuse 2.1 (AppFuse Light will become a part of AppFuse), but I probably won't finish that for several more weeks (sorry, just started working with a new client and traveling a lot).

Matt

On Aug 3, 2009, at 12:59 PM, ross.efi wrote:


Super.  A few more things...

I was able to use mvn to generate my new archetype in my development dir, although it looks like ant still uses maven under the covers to fill in
dependencies.  Is that an accurate understanding?

Running ant, it looks like its trying to download dependent libraries (to
somewhere).  It looks like it uses version variables from the pom.xml
properties section, but it looks like there are some missing definitions,
namely

commons.collections.version
jmock.version
junit.version
spring.version

I also got an error on

[artifact:pom] Error downloading parent pom
org.appfuse:appfuse-light::2.1-SNAPSHOT: Missing:
[artifact:pom] ----------
[artifact:pom] 1) org.appfuse:appfuse-light:pom:2.1-SNAPSHOT
[artifact:pom]   Path to dependency:
[artifact:pom]          1) unspecified:unspecified:jar:0.0
[artifact:pom]          2) org.appfuse:appfuse-light:pom:2.1-SNAPSHOT
[artifact:pom]
[artifact:pom] ----------
[artifact:pom] 1 required artifact is missing.
[artifact:pom]
[artifact:pom] for artifact:
[artifact:pom]   unspecified:unspecified:jar:0.0
[artifact:pom]
[artifact:pom] from the specified remote repositories:
[artifact:pom]   central (http://repo1.maven.org/maven2),
[artifact:pom] tapes...@javaforge (http://howardlewisship.com/repository ),
[artifact:pom]   java.net (http://download.java.net/maven/2),
[artifact:pom] sonatype (http://oss.sonatype.org/content/groups/appfuse )

Once ant works, do I use "ant new" to make a real project, or is this guy
all ready to go?

I don't see any service or DAO packages set up, nor spring application
context files for those layers.  Any hints?

Sorry to be such a pest, but I hope to learn more about the maven stuff
soon, once I get past having a working web app available to my client.

Thanks again for the timely responses.

Ross
--
View this message in context: 
http://www.nabble.com/Simple%2C-ant-oriented-appfuse-light-with-Tap-5%2C-Spring%2C-Hibernate-tp24794302s2369p24796243.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to