Ok. I have had this working before, so I thought I'd give it another
go, but things seem to be somewhat unhappy.
dev build 0.9.7.200902051931; my projects are using a profile to
generate into target-eclipse, as suggested.
Running the WAR file starts, but it fails because some spring context
files are missing (That are in adependent jar, on the classpath).
Now, previously, I think I fiddled with (removed) the "Excluded: **"
line in the dependent projects 'src/main/resources' line - but I since
read I shouldn't have to do that, as process-resources does it?
Either way, the resources *are* there, in target-eclipse/classes, and
it is one of the dependencies listed in the servers tab..
So, I tried just doing an 'mvn install' with m2e from the app-ui
project. Curiously, this now also fails
The following mojo encountered an error while executing:
Group-Id: org.apache.maven.plugins
Artifact-Id: maven-war-plugin
Version: 2.1-alpha-2
Mojo: war
brought in via: packaging: war
While building project:
Group-Id: net.blah.blah.modules
Artifact-Id: blah-app-ui
Version: 1.0-SNAPSHOT
>From file:
>/Volumes/Home/dev/blah/blah-workspace/blah/modules/blah-app-ui/pom.xml
Reason: Failed to copy file for
artifact[net.blah.blah.modules:blah-app:jar:1.0-SNAPSHOT:compile]
java.io.FileNotFoundException:
/Volumes/Home/dev/blah/blah-workspace/blah/modules/blah-app/target-eclipse/classes
(No such file or directory)
Which is surprising. That directory IS there, and it contains the
files I'd expect.
This was a clean workspace (all the m2 projects {painfully, slowly,
with multiple download notices for things I already have} reimported).
No particularly unusual errors in the error log (just Eclipse as-usual
being a useless POS and saying files only it has touched are 'out of
sync').
Any other magic log file locations / configs I can check ?
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email