http://maven.apache.org/plugins/maven-eclipse-plugin/configure-workspace-mojo.html
-A
> --
> You received this message because you are subscribed to the Google Groups "jclouds-dev" group.
> To post to this group, send email to jclou...@googlegroups.com.
> To unsubscribe from this group, send email to jclouds-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jclouds-dev?hl=en.
>
I'm not sure why it is being difficult, but it would be some
discrepancy between the maven goal docs and impl.
-A
mvn clean install eclipse:clean eclipse:eclipse
-Dmaven.javadoc.skip=true -DdownloadSources=true
-DdownloadJavadocs=true
from jclouds root. then go to package explorer, select all, refresh,
then do project clean all.
that's the most absolute reset I know of (outside killing everything),
and it hasn't failed...
-A
I think it should be "-Declipse.workspace=/home/nagin/jcloudsworkspace" [1].
In any case, you may want to skip the top-level project, by the way,
because it doesn't add anything beyond aggregation. I.e. run the
mvn eclipse:...
goals in apis, providers etc. but not at the top-level...
Hope this helps!
ap
[1]
http://maven.apache.org/plugins/maven-eclipse-plugin/configure-workspace-mojo.html
First suggestion would be to punch eclipse in the face :)
Maybe hopping on irc and seeing if anyone's available to screen share..
-A
I use 3.7.0
For what it's worth, I just removed and re-added all jclouds projects
(master branch, as of commit 39c79f6ffa5138987) to Eclipse with
m2eclipse, and all the projects look OK (except for three unused demos
referring to jclouds components long since removed)
Installation details:
- Eclipse Version: Helios Service Release 1, Build id: 20100917-0705
- m2eclipse 0.12.1
Don't know if you're able to try m2eclipse but it might be worth it if
this gets frustrating enough :-(
Good luck!
ap
On 23/02/2012 16:01, Kenneth Nagin wrote:
> I already manually added the M2_REPO to the classpath.
> I imported jclouds.
Just out of curiosity: did you import the projects in a particular
order, or simply select the top-level project and get Eclipse to import all?
Could you by any chance see what happens if you import *only* one of the
failing porjects, e.g. antcontrib? Does that give problems even on its own?
If so, does the list of dependencies in the Eclipse project match what
is reported by mvn dependency:list?
Thanks!
ap
-a
> Up to this point I just tried importing everything from the root, i.e.
> jclouds.
> But I just went through the process of mvn clean install ... each sub-
> directory separately
> and then importing each one. This worked for all the sub-directory
> accept demo.
That is unfortunately to be expected: some of the demos are seriously
out of date and are pointing to no longer existent drivers and
projects. TweetStore should be OK, though.
Glad to hear you've got this far!
Also, you may want to try the skeletons [1] rather than the archetypes
as the latter have none seen a lot of love recently ;-)
Good luck, and please keep track of the kind of things you're running
into, as well as suggestions. Any improvements we can make to the
"getting started" documentation will be much appreciated!
ap
[1] https://github.com/jclouds/jclouds/tree/master/skeletons
Thanks. This is an example of what I was referring to by "archetypes
haven't seen a lot of love recently" ;-)
Further testing and feedback certainly welcome, but if you just want
to have something up and running quickly I'd recommend you start from
a skeleton. See [1] for some history of those...
ap
Here's the best commit to base your work on:
https://github.com/jclouds/jclouds/commit/39c79f6ffa5138987048693b02970074c9392c2c
-A
Hi, kenneth. I would copy the opsource from labs and rename etc. First step is to code test the rest api, we can then look for a similar blobstore to steal abstraction classes from.
-A
Hi, Kenneth.
Tests ending in LiveTest connect to the service. Either skip these, or add system properties for their credentials.
-A
http://www.jclouds.org/documentation/userguide/using-maven
To answer your question, you currently need to change
core/src/main/resources/rest.properties
This is a legacy thing we're almost rid of, and hopefully will be done
with this week. Once the legacy is gone, I'll update the maven
archetype so we can just bang out new apis or providers.
I've added here a sketch of where this is going:
http://code.google.com/p/jclouds/issues/detail?id=897
-A
Hi, Kenneth.
We are fundamentally through these changes, but I havent sunk the half day into rewriting the archaetype, and unlikely to while there are still changes.
That said, I was planning to carve out a skeleton for swift anyway. I could make one for cdmi. what api version are you working on and is it possible to list regions via api?
-A
Hi, Kenneth.
I spoke with Mark and David at the OpenStack thing. They seem to think it is better starting with v1.0.1 (or 1.0.2). Also, the test endpoint should be up by monday. When this is up, shoot me the url and any test code you've made, and I will carve you a spot in labs.
-A