users@jersey.java.net

Re: [Jersey] eclipse .classpath file available?

From: Robert Koberg <rob.koberg_at_gmail.com>
Date: Thu, 6 Aug 2009 07:19:03 -0700

On Aug 6, 2009, at 1:39 AM, Paul Sandoz wrote:

>
> On Aug 6, 2009, at 5:14 AM, Robert Koberg wrote:
>
>> Hi,
>>
>> Is there are an eclipse .classpath file floating around that has
>> all of the
>> $jersey/doc('.classpath'/)/classpath/classpathentry[@src]
>> directories identified (for the trunk)?
>>
>
> I do not have one. Nor do i think there should be a file that
> globally references all source because Jersey is separated into
> maven modules. Every time we refractor a module or add a new module
> we would have to update this file.

Oh, I wasn't asking for it to be in the distro. Just asking if
somebody has already taken the time to drill into each directory and
add the source directories and would like to share their .classpath
file. If not, I will probably either do it by hand or write some kind
of script.

Is everyone using Netbeans here?

I tried to instal m2eclipse maven plugin for eclipse, but could not
get through the install process. I was able to install their
development version (I am using eclipse 3.5 - Build id: 20090621-0832
on OS X). When I try to run maven against the root pom.xml (don't know
if I using correct terminology), I get the following:

[WARNING]
[WARNING] Some problems were encountered while building the effective
model for com.sun.jersey:jersey-project:pom:1.1.2-ea-SNAPSHOT
[WARNING] Invalid POM com.sun.jersey:jersey-project:1.1.2-ea-SNAPSHOT
(/Users/rkobergmac/Documents/workspace/jersey/jersey/pom.xml):
'build.plugins.plugin.version' is missing for
org.codehaus.mojo:buildnumber-maven-plugin
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions will no longer
support building such malformed projects.

I don't know if this is an issue or just something screwed up with my
install.

best,
-Rob




>
>
>> Or, is there a quick way to identify all source directories for
>> eclipse?
>>
>
> Each jar file on maven is also accompanied by a Jersey source jar.
> Does the eclipse maven plugin recognize that?
>
>
>> Is jersey competeing for the most source directories? :)
>>
>
> One for each leaf maven module :-) Are there any eclipse utilities
> to work this out from the maven pom files?
>
> Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>