Re: [m2] Tools.jar & Apple

2007-03-12 Thread Ryan Cuprak


 Got my stuff working.

 Added the repository:
 
java.net
https://maven-repository.dev.java.net/nonav/ 
repository

legacy

(deleted entries javax entries and .m2 and re-downloaded - only had  
to download the jsr 181 jar separately.)


 and the dependency (for webservice annotations):

javax.jws
jsr181-api
1.0-MR1
compile


 That seemed to do the trick.

 Also, kinda wondering if mvnrepository.com indexes the java.net stuff.

 -Ryan


On Mar 8, 2007, at 3:16 PM, Ryan Cuprak wrote:



 Any chance you could send me your pom.xml file? I am a little  
baffled why the JAXWS plugin is failing on what appears to be a  
classpath issue with the annotations.


 How did using a legacy repository affect things?

 Thanks,
 -Ryan

On Mar 8, 2007, at 3:08 PM, jsolderitsch wrote:



Yes -- I found two plug-in poms in my .m2 -- this one and
jaxws-maven-plugin-1.0-beta-1-20070203.171044-8.pom

I changed the latter one first and that didn't help and then I  
changed the

one you mentioned and I was past the tools.jar block.

And I was able to build a deployable war file based on a pojo with  
some

JAX-WS annotations.

I did need to use the legacy repository:
https://maven-repository.dev.java.net/nonav/repository and this  
seemed to
let me compile all the way. At one point I did also do a mvn  
install:file
for the jar jaxws-rt.jar that I got from the nightly JAX-WS 2.1  
build. But

this was before I switched to the legacy repo from
https://maven2-repository.dev.java.net/nonav/repository which is  
supposedly

the preferred one.

Good luck.

Jim


Ryan Cuprak wrote:



I edited:
/Users//.m2/repository/org/codehaus/mojo/jaxws-maven- 
plugin/

1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom

  However, I hit another roadblock once I got past that problem. The
plugin can't find the class file for the Webservice annotation tag.
Plan to download the source and tinker with it later today.

  -Ryan

On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:



Question -- Which pom file under .m2?

I find myself in exactly the same situation and error condition
trying to
use the jax-ws plug-in on Mac OS X?

Ryan Cuprak wrote:



  Managed to get around the problem. I edited the pom file  
under .m2
to point directly at the classes.jar file on MacOS X. A bit of  
a hack

but it worked.

  -Ryan

On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:



The error message is:
Missing:
--
1) sun.jdk:tools:jar:1.5.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=sun.jdk -
DartifactId=tools \
  -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-
beta-1-20070203.171044-8
2) sun.jdk:tools:jar:1.5.0


 On the mac, the classes that comprise the tools are located in:
 /System/Library/Frameworks/JavaVM.framework/Versions/1.5/ 
Classes/

classes.jar
 Googling I come across postings where it is recommend that I  
alter

the systempath to point to classes.jar.

 -Ryan

On Mar 6, 2007, at 2:30 PM, Dan Tran wrote:


jaxws is capable of automatically pickup tools.jar from
${java.home}/lib/tools.jar
( MacOS specific)

What is the error?

you may need to get the latest source and build your self.


-D


On 3/6/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:


Hello,
I am trying to get the "jaxws-maven-plugin" up and running  
on my

box. Evidently Apple has been kind enough to stick tools.jar
elsewhere.

Any reason why the snippet below wouldn't work?

-Ryan

Snippet:



org.codehaus.mojo
jaxws-maven-plugin
1.0-beta-1-SNAPSHOT



wsgen




net.cuprak.ryanportal
true




sun.jdk
tools
1.5.0
/System/Library/Frameworks/
JavaVM.framework/Versions/1.5/Classes/classes.jar
system






--- 
---

--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





- 
---

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
---

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
View this message in context: http://www.nabble.com/Tools.jar---
A

Re: [m2] Tools.jar & Apple

2007-03-09 Thread Dan Tran

sorry folks, I forgot to deply a snapshot for the last change and there for
you all when thru hell
with his plugin.

I will deploy the snapshot now.

-D


On 3/9/07, jsolderitsch <[EMAIL PROTECTED]> wrote:



Yes! I built the plugin from source -- the POM no longer expresses a
dependency on tools.jar -- and using the plugin, I do NOT have to do
anything special for Max OS X support.

My project builds without any special considerations.

Thanks for the tutorial and advice.

Jim


dan tran wrote:
>
> checkout the source from
> http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/jaxws-maven-plugin
>
> then run
>
>   mvn install
>
> your project will automatically pickup this plugin build, rather than
the
> old binary at codehaus snapshot
>
> -D
>
>>
>> dan tran wrote:
>> >
>> > did you try to build the plugin from source and test with your
project?
>> >
>> > -D
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Tools.jar---Apple-tf3357700s177.html#a9396114
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>

--
View this message in context:
http://www.nabble.com/Tools.jar---Apple-tf3357700s177.html#a9400099
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [m2] Tools.jar & Apple

2007-03-09 Thread jsolderitsch

Yes! I built the plugin from source -- the POM no longer expresses a
dependency on tools.jar -- and using the plugin, I do NOT have to do
anything special for Max OS X support.

My project builds without any special considerations.

Thanks for the tutorial and advice.

Jim


dan tran wrote:
> 
> checkout the source from
> http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/jaxws-maven-plugin
> 
> then run
> 
>   mvn install
> 
> your project will automatically pickup this plugin build, rather than the
> old binary at codehaus snapshot
> 
> -D
> 
>>
>> dan tran wrote:
>> >
>> > did you try to build the plugin from source and test with your project?
>> >
>> > -D
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Tools.jar---Apple-tf3357700s177.html#a9396114
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tools.jar---Apple-tf3357700s177.html#a9400099
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Tools.jar & Apple

2007-03-09 Thread Dan Tran

checkout the source from
http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/jaxws-maven-plugin

then run

 mvn install

your project will automatically pickup this plugin build, rather than the
old binary at codehaus snapshot

-D




On 3/9/07, jsolderitsch <[EMAIL PROTECTED]> wrote:



Not yet -- I confess I am new to maven and trying to build and use a
plugin
is not something I know how to do, although it may be easy.

I presume I use svn to get the code from where?

And then I use mvn to build?

But then how do I arrange to use my own build to run the plugin from my
project location.

If there is a reference I can go to that covers this, I will be glad to
read
and follow it.

Thanks

Jim


dan tran wrote:
>
> did you try to build the plugin from source and test with your project?
>
> -D
>
>

--
View this message in context:
http://www.nabble.com/Tools.jar---Apple-tf3357700s177.html#a9396114
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [m2] Tools.jar & Apple

2007-03-09 Thread jsolderitsch

Not yet -- I confess I am new to maven and trying to build and use a plugin
is not something I know how to do, although it may be easy.

I presume I use svn to get the code from where?

And then I use mvn to build?

But then how do I arrange to use my own build to run the plugin from my
project location.

If there is a reference I can go to that covers this, I will be glad to read
and follow it.

Thanks

Jim


dan tran wrote:
> 
> did you try to build the plugin from source and test with your project?
> 
> -D
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tools.jar---Apple-tf3357700s177.html#a9396114
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Tools.jar & Apple

2007-03-09 Thread Dan Tran

did you try to build the plugin from source and test with your project?

-D


On 3/9/07, jsolderitsch <[EMAIL PROTECTED]> wrote:



Just want to say that I too fixed the issue by updating the same section
of
the plugin's pom.

I first tried making a dependency entry in my project pom for the plugin
using the exact same syntax and this did NOT work. I had to chance the
dependency in the plugin like Ryan describes.

Hopefully a newer build of the plugin will fix this behavior and allow me
to
override the tools.jar location at the project level.

Jim


dan tran wrote:
>
> From the source, jaxws-maven-plugin should should pickup your
classes.jar
> if
> you have it as your denpendecy.
>
> Also, and latest source and snapshot seems to be out of sync, could you
> fetch the source and build it and test it
> with your build.
>
> -D
>
>
> On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
>>
>>
>> The only change to a plugin (plugin itself) that I made was to
>> jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom and the sun.jdk section now
>> looks like:
>>
>> 
>>  sun.jdk
>>  tools
>>  1.5.0
>>  system
>>
>>
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/classes.jar
>>
>>
>> Specifying this as the dependency for the plugin in my pom file didn't
>> work.
>>
>> Haven't figured out a non-hack approach yet.
>>
>> -Ryan
>>
>>
>> On Thursday, March 08, 2007, at 08:45PM, "Dan Tran" <[EMAIL PROTECTED]>
>> wrote:
>> >also, what did you change in the plugin's pom?  If it is valid, i will
>> fix
>> >the plugin
>> >
>> >-D
>> >
>> >
>> >On 3/8/07, Dan Tran <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Ryan, I should have said this out loud early so you dont have to go
>> thru
>> >> this
>> >>
>> >> any way, if maven folk willing to fix
>> >>
>> >> http://jira.codehaus.org/browse/MEV-498
>> >>
>> >> an all will be okie
>> >>
>> >> -Dan
>> >>
>> >>
>> >>  On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > Hello,
>> >> >
>> >> > Got my jaxws stuff working!
>> >> >
>> >> > Added the repository:
>> >> > 
>> >> > java.net
>> >> >
>> https://maven-repository.dev.java.net/nonav/repository
>> >> > 
>> >> >legacy
>> >> >
>> >> > (deleted entries javax entries and .m2 and re-downloaded - only
had
>> to
>> >> > download the jsr 181 jar separately. - think I installed the wrong
>> jar
>> >> > previously)
>> >> >
>> >> > and the dependency (for webservice annotations):
>> >> >
>> >> >javax.jws
>> >> >jsr181-api
>> >> >1.0-MR1
>> >> >compile
>> >> >
>> >> >
>> >> > That seemed to do the trick.
>> >> >
>> >> > Also, kinda wondering if mvnrepository.com indexes the
>> java.netstuff.
>> >> >
>> >> > -Ryan
>> >> >
>> >> > On Thursday, March 08, 2007, at 12:17PM, "Ryan Cuprak" <
>> [EMAIL PROTECTED]>
>> >> > wrote:
>> >> > >
>> >> > >  Any chance you could send me your pom.xml file? I am a little
>> >> > >baffled why the JAXWS plugin is failing on what appears to be a
>> >> > >classpath issue with the annotations.
>> >> > >
>> >> > >  How did using a legacy repository affect things?
>> >> > >
>> >> > >  Thanks,
>> >> > >  -Ryan
>> >> > >
>> >> > >On Mar 8, 2007, at 3:08 PM, jsolderitsch wrote:
>> >> > >
>> >> > >>
>> >> > >> Yes -- I found two plug-in poms in my .m2 -- this one and
>> >> > >> jaxws-maven-plugin-1.0-beta-1-20070203.171044-8.pom
>> >> > >>
>> >> > >> I changed the latter one first and that didn't help and then I
>> >> > >> changed the
>> >> > >> one you mentioned and I was past the tools.jar block.
>> >> > >>
>> >> > >> And I was able to build a deployable war file based on a pojo
>> with
>> >> > >> some
>> >> > >> JAX-WS annotations.
>> >> > >>
>> >> > >> I did need to use the legacy repository:
>> >> > >> https://maven-repository.dev.java.net/nonav/repository and this
>> >> > >> seemed to
>> >> > >> let me compile all the way. At one point I did also do a mvn
>> >> > >> install:file
>> >> > >> for the jar jaxws-rt.jar that I got from the nightly JAX-WS 2.1
>> >> > >> build. But
>> >> > >> this was before I switched to the legacy repo from
>> >> > >> https://maven2-repository.dev.java.net/nonav/repository which
is
>> >> > >> supposedly
>> >> > >> the preferred one.
>> >> > >>
>> >> > >> Good luck.
>> >> > >>
>> >> > >> Jim
>> >> > >>
>> >> > >>
>> >> > >> Ryan Cuprak wrote:
>> >> > >>>
>> >> > >>>
>> >> > >>> I edited:
>> >> > >>>
/Users//.m2/repository/org/codehaus/mojo/jaxws-maven-
>> >> > >>> plugin/
>> >> > >>> 1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom
>> >> > >>>
>> >> > >>>   However, I hit another roadblock once I got past that
problem.
>> The
>> >> > >>> plugin can't find the class file for the Webservice annotation
>> tag.
>> >> > >>> Plan to download the source and tinker with it later today.
>> >> > >>>
>> >> > >>>   -Ryan
>> >> > >>>
>> >> > >>> On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:
>> >> > >>>
>> >> > 
>> >> >  Question -- Which

Re: [m2] Tools.jar & Apple

2007-03-09 Thread jsolderitsch

Just want to say that I too fixed the issue by updating the same section of
the plugin's pom.

I first tried making a dependency entry in my project pom for the plugin
using the exact same syntax and this did NOT work. I had to chance the
dependency in the plugin like Ryan describes.

Hopefully a newer build of the plugin will fix this behavior and allow me to
override the tools.jar location at the project level.

Jim


dan tran wrote:
> 
> From the source, jaxws-maven-plugin should should pickup your classes.jar
> if
> you have it as your denpendecy.
> 
> Also, and latest source and snapshot seems to be out of sync, could you
> fetch the source and build it and test it
> with your build.
> 
> -D
> 
> 
> On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
>>
>>
>> The only change to a plugin (plugin itself) that I made was to
>> jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom and the sun.jdk section now
>> looks like:
>>
>> 
>>  sun.jdk
>>  tools
>>  1.5.0
>>  system
>>
>> /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/classes.jar
>>
>>
>> Specifying this as the dependency for the plugin in my pom file didn't
>> work.
>>
>> Haven't figured out a non-hack approach yet.
>>
>> -Ryan
>>
>>
>> On Thursday, March 08, 2007, at 08:45PM, "Dan Tran" <[EMAIL PROTECTED]>
>> wrote:
>> >also, what did you change in the plugin's pom?  If it is valid, i will
>> fix
>> >the plugin
>> >
>> >-D
>> >
>> >
>> >On 3/8/07, Dan Tran <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Ryan, I should have said this out loud early so you dont have to go
>> thru
>> >> this
>> >>
>> >> any way, if maven folk willing to fix
>> >>
>> >> http://jira.codehaus.org/browse/MEV-498
>> >>
>> >> an all will be okie
>> >>
>> >> -Dan
>> >>
>> >>
>> >>  On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > Hello,
>> >> >
>> >> > Got my jaxws stuff working!
>> >> >
>> >> > Added the repository:
>> >> > 
>> >> > java.net
>> >> >
>> https://maven-repository.dev.java.net/nonav/repository
>> >> > 
>> >> >legacy
>> >> >
>> >> > (deleted entries javax entries and .m2 and re-downloaded - only had
>> to
>> >> > download the jsr 181 jar separately. - think I installed the wrong
>> jar
>> >> > previously)
>> >> >
>> >> > and the dependency (for webservice annotations):
>> >> >
>> >> >javax.jws
>> >> >jsr181-api
>> >> >1.0-MR1
>> >> >compile
>> >> >
>> >> >
>> >> > That seemed to do the trick.
>> >> >
>> >> > Also, kinda wondering if mvnrepository.com indexes the
>> java.netstuff.
>> >> >
>> >> > -Ryan
>> >> >
>> >> > On Thursday, March 08, 2007, at 12:17PM, "Ryan Cuprak" <
>> [EMAIL PROTECTED]>
>> >> > wrote:
>> >> > >
>> >> > >  Any chance you could send me your pom.xml file? I am a little
>> >> > >baffled why the JAXWS plugin is failing on what appears to be a
>> >> > >classpath issue with the annotations.
>> >> > >
>> >> > >  How did using a legacy repository affect things?
>> >> > >
>> >> > >  Thanks,
>> >> > >  -Ryan
>> >> > >
>> >> > >On Mar 8, 2007, at 3:08 PM, jsolderitsch wrote:
>> >> > >
>> >> > >>
>> >> > >> Yes -- I found two plug-in poms in my .m2 -- this one and
>> >> > >> jaxws-maven-plugin-1.0-beta-1-20070203.171044-8.pom
>> >> > >>
>> >> > >> I changed the latter one first and that didn't help and then I
>> >> > >> changed the
>> >> > >> one you mentioned and I was past the tools.jar block.
>> >> > >>
>> >> > >> And I was able to build a deployable war file based on a pojo
>> with
>> >> > >> some
>> >> > >> JAX-WS annotations.
>> >> > >>
>> >> > >> I did need to use the legacy repository:
>> >> > >> https://maven-repository.dev.java.net/nonav/repository and this
>> >> > >> seemed to
>> >> > >> let me compile all the way. At one point I did also do a mvn
>> >> > >> install:file
>> >> > >> for the jar jaxws-rt.jar that I got from the nightly JAX-WS 2.1
>> >> > >> build. But
>> >> > >> this was before I switched to the legacy repo from
>> >> > >> https://maven2-repository.dev.java.net/nonav/repository which is
>> >> > >> supposedly
>> >> > >> the preferred one.
>> >> > >>
>> >> > >> Good luck.
>> >> > >>
>> >> > >> Jim
>> >> > >>
>> >> > >>
>> >> > >> Ryan Cuprak wrote:
>> >> > >>>
>> >> > >>>
>> >> > >>> I edited:
>> >> > >>> /Users//.m2/repository/org/codehaus/mojo/jaxws-maven-
>> >> > >>> plugin/
>> >> > >>> 1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom
>> >> > >>>
>> >> > >>>   However, I hit another roadblock once I got past that problem.
>> The
>> >> > >>> plugin can't find the class file for the Webservice annotation
>> tag.
>> >> > >>> Plan to download the source and tinker with it later today.
>> >> > >>>
>> >> > >>>   -Ryan
>> >> > >>>
>> >> > >>> On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:
>> >> > >>>
>> >> > 
>> >> >  Question -- Which pom file under .m2?
>> >> > 
>> >> >  I find myself in exactly the same situation and error condition
>> >> >  try

Re: [m2] Tools.jar & Apple

2007-03-08 Thread Dan Tran

From the source, jaxws-maven-plugin should should pickup your classes.jar if

you have it as your denpendecy.

Also, and latest source and snapshot seems to be out of sync, could you
fetch the source and build it and test it
with your build.

-D


On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:



The only change to a plugin (plugin itself) that I made was to
jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom and the sun.jdk section now
looks like:


 sun.jdk
 tools
 1.5.0
 system

/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/classes.jar
   

Specifying this as the dependency for the plugin in my pom file didn't
work.

Haven't figured out a non-hack approach yet.

-Ryan


On Thursday, March 08, 2007, at 08:45PM, "Dan Tran" <[EMAIL PROTECTED]>
wrote:
>also, what did you change in the plugin's pom?  If it is valid, i will
fix
>the plugin
>
>-D
>
>
>On 3/8/07, Dan Tran <[EMAIL PROTECTED]> wrote:
>>
>> Ryan, I should have said this out loud early so you dont have to go
thru
>> this
>>
>> any way, if maven folk willing to fix
>>
>> http://jira.codehaus.org/browse/MEV-498
>>
>> an all will be okie
>>
>> -Dan
>>
>>
>>  On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
>> >
>> > Hello,
>> >
>> > Got my jaxws stuff working!
>> >
>> > Added the repository:
>> > 
>> > java.net
>> >
https://maven-repository.dev.java.net/nonav/repository
>> > 
>> >legacy
>> >
>> > (deleted entries javax entries and .m2 and re-downloaded - only had
to
>> > download the jsr 181 jar separately. - think I installed the wrong
jar
>> > previously)
>> >
>> > and the dependency (for webservice annotations):
>> >
>> >javax.jws
>> >jsr181-api
>> >1.0-MR1
>> >compile
>> >
>> >
>> > That seemed to do the trick.
>> >
>> > Also, kinda wondering if mvnrepository.com indexes the java.netstuff.
>> >
>> > -Ryan
>> >
>> > On Thursday, March 08, 2007, at 12:17PM, "Ryan Cuprak" <
[EMAIL PROTECTED]>
>> > wrote:
>> > >
>> > >  Any chance you could send me your pom.xml file? I am a little
>> > >baffled why the JAXWS plugin is failing on what appears to be a
>> > >classpath issue with the annotations.
>> > >
>> > >  How did using a legacy repository affect things?
>> > >
>> > >  Thanks,
>> > >  -Ryan
>> > >
>> > >On Mar 8, 2007, at 3:08 PM, jsolderitsch wrote:
>> > >
>> > >>
>> > >> Yes -- I found two plug-in poms in my .m2 -- this one and
>> > >> jaxws-maven-plugin-1.0-beta-1-20070203.171044-8.pom
>> > >>
>> > >> I changed the latter one first and that didn't help and then I
>> > >> changed the
>> > >> one you mentioned and I was past the tools.jar block.
>> > >>
>> > >> And I was able to build a deployable war file based on a pojo with
>> > >> some
>> > >> JAX-WS annotations.
>> > >>
>> > >> I did need to use the legacy repository:
>> > >> https://maven-repository.dev.java.net/nonav/repository and this
>> > >> seemed to
>> > >> let me compile all the way. At one point I did also do a mvn
>> > >> install:file
>> > >> for the jar jaxws-rt.jar that I got from the nightly JAX-WS 2.1
>> > >> build. But
>> > >> this was before I switched to the legacy repo from
>> > >> https://maven2-repository.dev.java.net/nonav/repository which is
>> > >> supposedly
>> > >> the preferred one.
>> > >>
>> > >> Good luck.
>> > >>
>> > >> Jim
>> > >>
>> > >>
>> > >> Ryan Cuprak wrote:
>> > >>>
>> > >>>
>> > >>> I edited:
>> > >>> /Users//.m2/repository/org/codehaus/mojo/jaxws-maven-
>> > >>> plugin/
>> > >>> 1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom
>> > >>>
>> > >>>   However, I hit another roadblock once I got past that problem.
The
>> > >>> plugin can't find the class file for the Webservice annotation
tag.
>> > >>> Plan to download the source and tinker with it later today.
>> > >>>
>> > >>>   -Ryan
>> > >>>
>> > >>> On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:
>> > >>>
>> > 
>> >  Question -- Which pom file under .m2?
>> > 
>> >  I find myself in exactly the same situation and error condition
>> >  trying to
>> >  use the jax-ws plug-in on Mac OS X?
>> > 
>> >  Ryan Cuprak wrote:
>> > >
>> > >
>> > >   Managed to get around the problem. I edited the pom file
>> > > under .m2
>> > > to point directly at the classes.jar file on MacOS X. A bit of
a
>> > > hack
>> > > but it worked.
>> > >
>> > >   -Ryan
>> > >
>> > > On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:
>> > >
>> > >>
>> > >> The error message is:
>> > >> Missing:
>> > >> --
>> > >> 1) sun.jdk:tools:jar:1.5.0
>> > >>
>> > >>   Try downloading the file manually from the project website.
>> > >>
>> > >>   Then, install it using the command:
>> > >>   mvn install:install-file -DgroupId=sun.jdk -
>> > >> DartifactId=tools \
>> > >>   -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
>> > >>
>> > >>   

Re: [m2] Tools.jar & Apple

2007-03-08 Thread Ryan Cuprak

 The only change to a plugin (plugin itself) that I made was to 
jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom and the sun.jdk section now looks 
like:

 
  sun.jdk
  tools
  1.5.0
  system
  
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/classes.jar


 Specifying this as the dependency for the plugin in my pom file didn't work.

 Haven't figured out a non-hack approach yet.

 -Ryan

 
On Thursday, March 08, 2007, at 08:45PM, "Dan Tran" <[EMAIL PROTECTED]> wrote:
>also, what did you change in the plugin's pom?  If it is valid, i will fix
>the plugin
>
>-D
>
>
>On 3/8/07, Dan Tran <[EMAIL PROTECTED]> wrote:
>>
>> Ryan, I should have said this out loud early so you dont have to go thru
>> this
>>
>> any way, if maven folk willing to fix
>>
>> http://jira.codehaus.org/browse/MEV-498
>>
>> an all will be okie
>>
>> -Dan
>>
>>
>>  On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
>> >
>> > Hello,
>> >
>> > Got my jaxws stuff working!
>> >
>> > Added the repository:
>> > 
>> > java.net
>> >https://maven-repository.dev.java.net/nonav/repository
>> > 
>> >legacy
>> >
>> > (deleted entries javax entries and .m2 and re-downloaded - only had to
>> > download the jsr 181 jar separately. - think I installed the wrong jar
>> > previously)
>> >
>> > and the dependency (for webservice annotations):
>> >
>> >javax.jws
>> >jsr181-api
>> >1.0-MR1
>> >compile
>> >
>> >
>> > That seemed to do the trick.
>> >
>> > Also, kinda wondering if mvnrepository.com indexes the java.net stuff.
>> >
>> > -Ryan
>> >
>> > On Thursday, March 08, 2007, at 12:17PM, "Ryan Cuprak" <[EMAIL PROTECTED]>
>> > wrote:
>> > >
>> > >  Any chance you could send me your pom.xml file? I am a little
>> > >baffled why the JAXWS plugin is failing on what appears to be a
>> > >classpath issue with the annotations.
>> > >
>> > >  How did using a legacy repository affect things?
>> > >
>> > >  Thanks,
>> > >  -Ryan
>> > >
>> > >On Mar 8, 2007, at 3:08 PM, jsolderitsch wrote:
>> > >
>> > >>
>> > >> Yes -- I found two plug-in poms in my .m2 -- this one and
>> > >> jaxws-maven-plugin-1.0-beta-1-20070203.171044-8.pom
>> > >>
>> > >> I changed the latter one first and that didn't help and then I
>> > >> changed the
>> > >> one you mentioned and I was past the tools.jar block.
>> > >>
>> > >> And I was able to build a deployable war file based on a pojo with
>> > >> some
>> > >> JAX-WS annotations.
>> > >>
>> > >> I did need to use the legacy repository:
>> > >> https://maven-repository.dev.java.net/nonav/repository and this
>> > >> seemed to
>> > >> let me compile all the way. At one point I did also do a mvn
>> > >> install:file
>> > >> for the jar jaxws-rt.jar that I got from the nightly JAX-WS 2.1
>> > >> build. But
>> > >> this was before I switched to the legacy repo from
>> > >> https://maven2-repository.dev.java.net/nonav/repository which is
>> > >> supposedly
>> > >> the preferred one.
>> > >>
>> > >> Good luck.
>> > >>
>> > >> Jim
>> > >>
>> > >>
>> > >> Ryan Cuprak wrote:
>> > >>>
>> > >>>
>> > >>> I edited:
>> > >>> /Users//.m2/repository/org/codehaus/mojo/jaxws-maven-
>> > >>> plugin/
>> > >>> 1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom
>> > >>>
>> > >>>   However, I hit another roadblock once I got past that problem. The
>> > >>> plugin can't find the class file for the Webservice annotation tag.
>> > >>> Plan to download the source and tinker with it later today.
>> > >>>
>> > >>>   -Ryan
>> > >>>
>> > >>> On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:
>> > >>>
>> > 
>> >  Question -- Which pom file under .m2?
>> > 
>> >  I find myself in exactly the same situation and error condition
>> >  trying to
>> >  use the jax-ws plug-in on Mac OS X?
>> > 
>> >  Ryan Cuprak wrote:
>> > >
>> > >
>> > >   Managed to get around the problem. I edited the pom file
>> > > under .m2
>> > > to point directly at the classes.jar file on MacOS X. A bit of a
>> > > hack
>> > > but it worked.
>> > >
>> > >   -Ryan
>> > >
>> > > On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:
>> > >
>> > >>
>> > >> The error message is:
>> > >> Missing:
>> > >> --
>> > >> 1) sun.jdk:tools:jar:1.5.0
>> > >>
>> > >>   Try downloading the file manually from the project website.
>> > >>
>> > >>   Then, install it using the command:
>> > >>   mvn install:install-file -DgroupId=sun.jdk -
>> > >> DartifactId=tools \
>> > >>   -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
>> > >>
>> > >>   Path to dependency:
>> > >> 1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-
>> > >> beta-1-20070203.171044-8
>> > >> 2) sun.jdk:tools:jar:1.5.0
>> > >>
>> > >>
>> > >>  On the mac, the classes that comprise the tools are located in:

Re: [m2] Tools.jar & Apple

2007-03-08 Thread Dan Tran

also, what did you change in the plugin's pom?  If it is valid, i will fix
the plugin

-D


On 3/8/07, Dan Tran <[EMAIL PROTECTED]> wrote:


Ryan, I should have said this out loud early so you dont have to go thru
this

any way, if maven folk willing to fix

http://jira.codehaus.org/browse/MEV-498

an all will be okie

-Dan


 On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Got my jaxws stuff working!
>
> Added the repository:
> 
> java.net
>https://maven-repository.dev.java.net/nonav/repository
> 
>legacy
>
> (deleted entries javax entries and .m2 and re-downloaded - only had to
> download the jsr 181 jar separately. - think I installed the wrong jar
> previously)
>
> and the dependency (for webservice annotations):
>
>javax.jws
>jsr181-api
>1.0-MR1
>compile
>
>
> That seemed to do the trick.
>
> Also, kinda wondering if mvnrepository.com indexes the java.net stuff.
>
> -Ryan
>
> On Thursday, March 08, 2007, at 12:17PM, "Ryan Cuprak" <[EMAIL PROTECTED]>
> wrote:
> >
> >  Any chance you could send me your pom.xml file? I am a little
> >baffled why the JAXWS plugin is failing on what appears to be a
> >classpath issue with the annotations.
> >
> >  How did using a legacy repository affect things?
> >
> >  Thanks,
> >  -Ryan
> >
> >On Mar 8, 2007, at 3:08 PM, jsolderitsch wrote:
> >
> >>
> >> Yes -- I found two plug-in poms in my .m2 -- this one and
> >> jaxws-maven-plugin-1.0-beta-1-20070203.171044-8.pom
> >>
> >> I changed the latter one first and that didn't help and then I
> >> changed the
> >> one you mentioned and I was past the tools.jar block.
> >>
> >> And I was able to build a deployable war file based on a pojo with
> >> some
> >> JAX-WS annotations.
> >>
> >> I did need to use the legacy repository:
> >> https://maven-repository.dev.java.net/nonav/repository and this
> >> seemed to
> >> let me compile all the way. At one point I did also do a mvn
> >> install:file
> >> for the jar jaxws-rt.jar that I got from the nightly JAX-WS 2.1
> >> build. But
> >> this was before I switched to the legacy repo from
> >> https://maven2-repository.dev.java.net/nonav/repository which is
> >> supposedly
> >> the preferred one.
> >>
> >> Good luck.
> >>
> >> Jim
> >>
> >>
> >> Ryan Cuprak wrote:
> >>>
> >>>
> >>> I edited:
> >>> /Users//.m2/repository/org/codehaus/mojo/jaxws-maven-
> >>> plugin/
> >>> 1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom
> >>>
> >>>   However, I hit another roadblock once I got past that problem. The
> >>> plugin can't find the class file for the Webservice annotation tag.
> >>> Plan to download the source and tinker with it later today.
> >>>
> >>>   -Ryan
> >>>
> >>> On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:
> >>>
> 
>  Question -- Which pom file under .m2?
> 
>  I find myself in exactly the same situation and error condition
>  trying to
>  use the jax-ws plug-in on Mac OS X?
> 
>  Ryan Cuprak wrote:
> >
> >
> >   Managed to get around the problem. I edited the pom file
> > under .m2
> > to point directly at the classes.jar file on MacOS X. A bit of a
> > hack
> > but it worked.
> >
> >   -Ryan
> >
> > On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:
> >
> >>
> >> The error message is:
> >> Missing:
> >> --
> >> 1) sun.jdk:tools:jar:1.5.0
> >>
> >>   Try downloading the file manually from the project website.
> >>
> >>   Then, install it using the command:
> >>   mvn install:install-file -DgroupId=sun.jdk -
> >> DartifactId=tools \
> >>   -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
> >>
> >>   Path to dependency:
> >> 1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-
> >> beta-1-20070203.171044-8
> >> 2) sun.jdk:tools:jar:1.5.0
> >>
> >>
> >>  On the mac, the classes that comprise the tools are located in:
> >>  /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/
>
> >> classes.jar
> >>  Googling I come across postings where it is recommend that I
> >> alter
> >> the systempath to point to classes.jar .
> >>
> >>  -Ryan
> >>
> >> On Mar 6, 2007, at 2:30 PM, Dan Tran wrote:
> >>
> >>> jaxws is capable of automatically pickup tools.jar from
> >>> ${java.home}/lib/tools.jar
> >>> ( MacOS specific)
> >>>
> >>> What is the error?
> >>>
> >>> you may need to get the latest source and build your self.
> >>>
> >>>
> >>> -D
> >>>
> >>>
> >>> On 3/6/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
> 
>  Hello,
>  I am trying to get the "jaxws-maven-plugin" up and running on
> my
>  box. Evidently Apple has been kind enough to stick tools.jar
>  elsewhere.
> 
>  Any reason why the s

Re: [m2] Tools.jar & Apple

2007-03-08 Thread Dan Tran

Ryan, I should have said this out loud early so you dont have to go thru
this

any way, if maven folk willing to fix

http://jira.codehaus.org/browse/MEV-498

an all will be okie

-Dan


On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:


Hello,

Got my jaxws stuff working!

Added the repository:

   java.net
   https://maven-repository.dev.java.net/nonav/repository

   legacy
   
(deleted entries javax entries and .m2 and re-downloaded - only had to
download the jsr 181 jar separately. - think I installed the wrong jar
previously)

and the dependency (for webservice annotations):
   
   javax.jws
   jsr181-api
   1.0-MR1
   compile
   

That seemed to do the trick.

Also, kinda wondering if mvnrepository.com indexes the java.net stuff.

-Ryan

On Thursday, March 08, 2007, at 12:17PM, "Ryan Cuprak" <[EMAIL PROTECTED]>
wrote:
>
>  Any chance you could send me your pom.xml file? I am a little
>baffled why the JAXWS plugin is failing on what appears to be a
>classpath issue with the annotations.
>
>  How did using a legacy repository affect things?
>
>  Thanks,
>  -Ryan
>
>On Mar 8, 2007, at 3:08 PM, jsolderitsch wrote:
>
>>
>> Yes -- I found two plug-in poms in my .m2 -- this one and
>> jaxws-maven-plugin-1.0-beta-1-20070203.171044-8.pom
>>
>> I changed the latter one first and that didn't help and then I
>> changed the
>> one you mentioned and I was past the tools.jar block.
>>
>> And I was able to build a deployable war file based on a pojo with
>> some
>> JAX-WS annotations.
>>
>> I did need to use the legacy repository:
>> https://maven-repository.dev.java.net/nonav/repository and this
>> seemed to
>> let me compile all the way. At one point I did also do a mvn
>> install:file
>> for the jar jaxws-rt.jar that I got from the nightly JAX-WS 2.1
>> build. But
>> this was before I switched to the legacy repo from
>> https://maven2-repository.dev.java.net/nonav/repository which is
>> supposedly
>> the preferred one.
>>
>> Good luck.
>>
>> Jim
>>
>>
>> Ryan Cuprak wrote:
>>>
>>>
>>> I edited:
>>> /Users//.m2/repository/org/codehaus/mojo/jaxws-maven-
>>> plugin/
>>> 1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom
>>>
>>>   However, I hit another roadblock once I got past that problem. The
>>> plugin can't find the class file for the Webservice annotation tag.
>>> Plan to download the source and tinker with it later today.
>>>
>>>   -Ryan
>>>
>>> On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:
>>>

 Question -- Which pom file under .m2?

 I find myself in exactly the same situation and error condition
 trying to
 use the jax-ws plug-in on Mac OS X?

 Ryan Cuprak wrote:
>
>
>   Managed to get around the problem. I edited the pom file
> under .m2
> to point directly at the classes.jar file on MacOS X. A bit of a
> hack
> but it worked.
>
>   -Ryan
>
> On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:
>
>>
>> The error message is:
>> Missing:
>> --
>> 1) sun.jdk:tools:jar:1.5.0
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>   mvn install:install-file -DgroupId=sun.jdk -
>> DartifactId=tools \
>>   -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
>>
>>   Path to dependency:
>> 1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-
>> beta-1-20070203.171044-8
>> 2) sun.jdk:tools:jar:1.5.0
>>
>>
>>  On the mac, the classes that comprise the tools are located in:
>>  /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/
>> classes.jar
>>  Googling I come across postings where it is recommend that I
>> alter
>> the systempath to point to classes.jar.
>>
>>  -Ryan
>>
>> On Mar 6, 2007, at 2:30 PM, Dan Tran wrote:
>>
>>> jaxws is capable of automatically pickup tools.jar from
>>> ${java.home}/lib/tools.jar
>>> ( MacOS specific)
>>>
>>> What is the error?
>>>
>>> you may need to get the latest source and build your self.
>>>
>>>
>>> -D
>>>
>>>
>>> On 3/6/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:

 Hello,
 I am trying to get the "jaxws-maven-plugin" up and running on my
 box. Evidently Apple has been kind enough to stick tools.jar
 elsewhere.

 Any reason why the snippet below wouldn't work?

 -Ryan

 Snippet:

 
 
 org.codehaus.mojo
 jaxws-maven-plugin
 1.0-beta-1-SNAPSHOT
 
 
 
 wsgen
 
 

Re: [m2] Tools.jar & Apple

2007-03-08 Thread Ryan Cuprak
Hello,

Got my jaxws stuff working!

 Added the repository:
 
java.net
https://maven-repository.dev.java.net/nonav/repository
legacy

(deleted entries javax entries and .m2 and re-downloaded - only had to download 
the jsr 181 jar separately. - think I installed the wrong jar previously)

 and the dependency (for webservice annotations):

javax.jws
jsr181-api
1.0-MR1
compile


 That seemed to do the trick.

 Also, kinda wondering if mvnrepository.com indexes the java.net stuff.

 -Ryan
 
On Thursday, March 08, 2007, at 12:17PM, "Ryan Cuprak" <[EMAIL PROTECTED]> 
wrote:
>
>  Any chance you could send me your pom.xml file? I am a little  
>baffled why the JAXWS plugin is failing on what appears to be a  
>classpath issue with the annotations.
>
>  How did using a legacy repository affect things?
>
>  Thanks,
>  -Ryan
>
>On Mar 8, 2007, at 3:08 PM, jsolderitsch wrote:
>
>>
>> Yes -- I found two plug-in poms in my .m2 -- this one and
>> jaxws-maven-plugin-1.0-beta-1-20070203.171044-8.pom
>>
>> I changed the latter one first and that didn't help and then I  
>> changed the
>> one you mentioned and I was past the tools.jar block.
>>
>> And I was able to build a deployable war file based on a pojo with  
>> some
>> JAX-WS annotations.
>>
>> I did need to use the legacy repository:
>> https://maven-repository.dev.java.net/nonav/repository and this  
>> seemed to
>> let me compile all the way. At one point I did also do a mvn  
>> install:file
>> for the jar jaxws-rt.jar that I got from the nightly JAX-WS 2.1  
>> build. But
>> this was before I switched to the legacy repo from
>> https://maven2-repository.dev.java.net/nonav/repository which is  
>> supposedly
>> the preferred one.
>>
>> Good luck.
>>
>> Jim
>>
>>
>> Ryan Cuprak wrote:
>>>
>>>
>>> I edited:
>>> /Users//.m2/repository/org/codehaus/mojo/jaxws-maven- 
>>> plugin/
>>> 1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom
>>>
>>>   However, I hit another roadblock once I got past that problem. The
>>> plugin can't find the class file for the Webservice annotation tag.
>>> Plan to download the source and tinker with it later today.
>>>
>>>   -Ryan
>>>
>>> On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:
>>>

 Question -- Which pom file under .m2?

 I find myself in exactly the same situation and error condition
 trying to
 use the jax-ws plug-in on Mac OS X?

 Ryan Cuprak wrote:
>
>
>   Managed to get around the problem. I edited the pom file  
> under .m2
> to point directly at the classes.jar file on MacOS X. A bit of a  
> hack
> but it worked.
>
>   -Ryan
>
> On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:
>
>>
>> The error message is:
>> Missing:
>> --
>> 1) sun.jdk:tools:jar:1.5.0
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>   mvn install:install-file -DgroupId=sun.jdk -
>> DartifactId=tools \
>>   -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
>>
>>   Path to dependency:
>> 1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-
>> beta-1-20070203.171044-8
>> 2) sun.jdk:tools:jar:1.5.0
>>
>>
>>  On the mac, the classes that comprise the tools are located in:
>>  /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/
>> classes.jar
>>  Googling I come across postings where it is recommend that I  
>> alter
>> the systempath to point to classes.jar.
>>
>>  -Ryan
>>
>> On Mar 6, 2007, at 2:30 PM, Dan Tran wrote:
>>
>>> jaxws is capable of automatically pickup tools.jar from
>>> ${java.home}/lib/tools.jar
>>> ( MacOS specific)
>>>
>>> What is the error?
>>>
>>> you may need to get the latest source and build your self.
>>>
>>>
>>> -D
>>>
>>>
>>> On 3/6/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:

 Hello,
 I am trying to get the "jaxws-maven-plugin" up and running on my
 box. Evidently Apple has been kind enough to stick tools.jar
 elsewhere.

 Any reason why the snippet below wouldn't work?

 -Ryan

 Snippet:

 
 
 org.codehaus.mojo
 jaxws-maven-plugin
 1.0-beta-1-SNAPSHOT
 
 
 
 wsgen
 
 
 
 
 net.cuprak.ryanportal
 true

 
 
 

Re: [m2] Tools.jar & Apple

2007-03-08 Thread Ryan Cuprak


 Any chance you could send me your pom.xml file? I am a little  
baffled why the JAXWS plugin is failing on what appears to be a  
classpath issue with the annotations.


 How did using a legacy repository affect things?

 Thanks,
 -Ryan

On Mar 8, 2007, at 3:08 PM, jsolderitsch wrote:



Yes -- I found two plug-in poms in my .m2 -- this one and
jaxws-maven-plugin-1.0-beta-1-20070203.171044-8.pom

I changed the latter one first and that didn't help and then I  
changed the

one you mentioned and I was past the tools.jar block.

And I was able to build a deployable war file based on a pojo with  
some

JAX-WS annotations.

I did need to use the legacy repository:
https://maven-repository.dev.java.net/nonav/repository and this  
seemed to
let me compile all the way. At one point I did also do a mvn  
install:file
for the jar jaxws-rt.jar that I got from the nightly JAX-WS 2.1  
build. But

this was before I switched to the legacy repo from
https://maven2-repository.dev.java.net/nonav/repository which is  
supposedly

the preferred one.

Good luck.

Jim


Ryan Cuprak wrote:



I edited:
/Users//.m2/repository/org/codehaus/mojo/jaxws-maven- 
plugin/

1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom

  However, I hit another roadblock once I got past that problem. The
plugin can't find the class file for the Webservice annotation tag.
Plan to download the source and tinker with it later today.

  -Ryan

On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:



Question -- Which pom file under .m2?

I find myself in exactly the same situation and error condition
trying to
use the jax-ws plug-in on Mac OS X?

Ryan Cuprak wrote:



  Managed to get around the problem. I edited the pom file  
under .m2
to point directly at the classes.jar file on MacOS X. A bit of a  
hack

but it worked.

  -Ryan

On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:



The error message is:
Missing:
--
1) sun.jdk:tools:jar:1.5.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=sun.jdk -
DartifactId=tools \
  -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-
beta-1-20070203.171044-8
2) sun.jdk:tools:jar:1.5.0


 On the mac, the classes that comprise the tools are located in:
 /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/
classes.jar
 Googling I come across postings where it is recommend that I  
alter

the systempath to point to classes.jar.

 -Ryan

On Mar 6, 2007, at 2:30 PM, Dan Tran wrote:


jaxws is capable of automatically pickup tools.jar from
${java.home}/lib/tools.jar
( MacOS specific)

What is the error?

you may need to get the latest source and build your self.


-D


On 3/6/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:


Hello,
I am trying to get the "jaxws-maven-plugin" up and running on my
box. Evidently Apple has been kind enough to stick tools.jar
elsewhere.

Any reason why the snippet below wouldn't work?

-Ryan

Snippet:



org.codehaus.mojo
jaxws-maven-plugin
1.0-beta-1-SNAPSHOT



wsgen




net.cuprak.ryanportal
true




sun.jdk
tools
1.5.0
/System/Library/Frameworks/
JavaVM.framework/Versions/1.5/Classes/classes.jar
system






 
--

--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-- 
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--- 
--

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
View this message in context: http://www.nabble.com/Tools.jar---
Apple-tf3357700s177.html#a9378680
Sent from the Maven - Users mailing list archive at Nabble.com.


 
-

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
View this message in context: http://www.nabble.com/Tools.jar--- 
Apple-tf3357700s177.html#a9381358

Sent from the Maven - Users mailing list archive at Nabble.com.


-

Re: [m2] Tools.jar & Apple

2007-03-08 Thread jsolderitsch

Yes -- I found two plug-in poms in my .m2 -- this one and
jaxws-maven-plugin-1.0-beta-1-20070203.171044-8.pom

I changed the latter one first and that didn't help and then I changed the
one you mentioned and I was past the tools.jar block.

And I was able to build a deployable war file based on a pojo with some
JAX-WS annotations.

I did need to use the legacy repository:
https://maven-repository.dev.java.net/nonav/repository and this seemed to
let me compile all the way. At one point I did also do a mvn install:file
for the jar jaxws-rt.jar that I got from the nightly JAX-WS 2.1 build. But
this was before I switched to the legacy repo from
https://maven2-repository.dev.java.net/nonav/repository which is supposedly
the preferred one.

Good luck.

Jim


Ryan Cuprak wrote:
> 
> 
> I edited:
> /Users//.m2/repository/org/codehaus/mojo/jaxws-maven-plugin/ 
> 1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom
> 
>   However, I hit another roadblock once I got past that problem. The  
> plugin can't find the class file for the Webservice annotation tag.  
> Plan to download the source and tinker with it later today.
> 
>   -Ryan
> 
> On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:
> 
>>
>> Question -- Which pom file under .m2?
>>
>> I find myself in exactly the same situation and error condition  
>> trying to
>> use the jax-ws plug-in on Mac OS X?
>>
>> Ryan Cuprak wrote:
>>>
>>>
>>>   Managed to get around the problem. I edited the pom file under .m2
>>> to point directly at the classes.jar file on MacOS X. A bit of a hack
>>> but it worked.
>>>
>>>   -Ryan
>>>
>>> On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:
>>>

 The error message is:
 Missing:
 --
 1) sun.jdk:tools:jar:1.5.0

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=sun.jdk - 
 DartifactId=tools \
   -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file

   Path to dependency:
 1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-
 beta-1-20070203.171044-8
 2) sun.jdk:tools:jar:1.5.0


  On the mac, the classes that comprise the tools are located in:
  /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/
 classes.jar
  Googling I come across postings where it is recommend that I alter
 the systempath to point to classes.jar.

  -Ryan

 On Mar 6, 2007, at 2:30 PM, Dan Tran wrote:

> jaxws is capable of automatically pickup tools.jar from
> ${java.home}/lib/tools.jar
> ( MacOS specific)
>
> What is the error?
>
> you may need to get the latest source and build your self.
>
>
> -D
>
>
> On 3/6/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>> I am trying to get the "jaxws-maven-plugin" up and running on my
>> box. Evidently Apple has been kind enough to stick tools.jar
>> elsewhere.
>>
>> Any reason why the snippet below wouldn't work?
>>
>> -Ryan
>>
>> Snippet:
>>
>> 
>> 
>> org.codehaus.mojo
>> jaxws-maven-plugin
>> 1.0-beta-1-SNAPSHOT
>> 
>> 
>> 
>> wsgen
>> 
>> 
>> 
>> 
>> net.cuprak.ryanportal
>> true
>>
>> 
>> 
>> 
>> sun.jdk
>> tools
>> 1.5.0
>> /System/Library/Frameworks/
>> JavaVM.framework/Versions/1.5/Classes/classes.jar
>> system
>> 
>> 
>> 
>>
>> 
>>
>> -- 
>> --
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>


  
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/Tools.jar--- 
>> Apple-tf3357700s177.html#a9378680
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For add

Re: [m2] Tools.jar & Apple

2007-03-08 Thread Ryan Cuprak


It is:
 ../../System/Library/Frameworks/JavaVM.framework/Versions/1.5/ 
Classes/classes.jar


On Mar 8, 2007, at 2:43 PM, Dan Tran wrote:


what is the location of classes.jar relative to java.home under OS X?

On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:



I edited:
/Users//.m2/repository/org/codehaus/mojo/jaxws-maven- 
plugin/

1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom

However, I hit another roadblock once I got past that problem. The
plugin can't find the class file for the Webservice annotation tag.
Plan to download the source and tinker with it later today.

-Ryan

On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:

>
> Question -- Which pom file under .m2?
>
> I find myself in exactly the same situation and error condition
> trying to
> use the jax-ws plug-in on Mac OS X?
>
> Ryan Cuprak wrote:
>>
>>
>>   Managed to get around the problem. I edited the pom file  
under .m2
>> to point directly at the classes.jar file on MacOS X. A bit of  
a hack

>> but it worked.
>>
>>   -Ryan
>>
>> On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:
>>
>>>
>>> The error message is:
>>> Missing:
>>> --
>>> 1) sun.jdk:tools:jar:1.5.0
>>>
>>>   Try downloading the file manually from the project website.
>>>
>>>   Then, install it using the command:
>>>   mvn install:install-file -DgroupId=sun.jdk -
>>> DartifactId=tools \
>>>   -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
>>>
>>>   Path to dependency:
>>> 1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-
>>> beta-1-20070203.171044-8
>>> 2) sun.jdk:tools:jar:1.5.0
>>>
>>>
>>>  On the mac, the classes that comprise the tools are located in:
>>>  /System/Library/Frameworks/JavaVM.framework/Versions/1.5/ 
Classes/

>>> classes.jar
>>>  Googling I come across postings where it is recommend that I  
alter

>>> the systempath to point to classes.jar.
>>>
>>>  -Ryan
>>>
>>> On Mar 6, 2007, at 2:30 PM, Dan Tran wrote:
>>>
 jaxws is capable of automatically pickup tools.jar from
 ${java.home}/lib/tools.jar
 ( MacOS specific)

 What is the error?

 you may need to get the latest source and build your self.


 -D


 On 3/6/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I am trying to get the "jaxws-maven-plugin" up and running  
on my

> box. Evidently Apple has been kind enough to stick tools.jar
> elsewhere.
>
> Any reason why the snippet below wouldn't work?
>
> -Ryan
>
> Snippet:
>
> 
> 
> org.codehaus.mojo
> jaxws-maven-plugin
> 1.0-beta-1-SNAPSHOT
> 
> 
> 
> wsgen
> 
> 
> 
> 
> net.cuprak.ryanportal
> true
>
> 
> 
> 
> sun.jdk
> tools
> 1.5.0
> /System/Library/Frameworks/
> JavaVM.framework/Versions/1.5/Classes/classes.jar
> system
> 
> 
> 
>
> 
>
>  
--

> --
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>>>
>>>
>>>  


>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
>>  
-

>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Tools.jar---
> Apple-tf3357700s177.html#a9378680
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
>  
-

> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Tools.jar & Apple

2007-03-08 Thread Dan Tran

what is the location of classes.jar relative to java.home under OS X?

On 3/8/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:



I edited:
/Users//.m2/repository/org/codehaus/mojo/jaxws-maven-plugin/
1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom

However, I hit another roadblock once I got past that problem. The
plugin can't find the class file for the Webservice annotation tag.
Plan to download the source and tinker with it later today.

-Ryan

On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:

>
> Question -- Which pom file under .m2?
>
> I find myself in exactly the same situation and error condition
> trying to
> use the jax-ws plug-in on Mac OS X?
>
> Ryan Cuprak wrote:
>>
>>
>>   Managed to get around the problem. I edited the pom file under .m2
>> to point directly at the classes.jar file on MacOS X. A bit of a hack
>> but it worked.
>>
>>   -Ryan
>>
>> On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:
>>
>>>
>>> The error message is:
>>> Missing:
>>> --
>>> 1) sun.jdk:tools:jar:1.5.0
>>>
>>>   Try downloading the file manually from the project website.
>>>
>>>   Then, install it using the command:
>>>   mvn install:install-file -DgroupId=sun.jdk -
>>> DartifactId=tools \
>>>   -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
>>>
>>>   Path to dependency:
>>> 1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-
>>> beta-1-20070203.171044-8
>>> 2) sun.jdk:tools:jar:1.5.0
>>>
>>>
>>>  On the mac, the classes that comprise the tools are located in:
>>>  /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/
>>> classes.jar
>>>  Googling I come across postings where it is recommend that I alter
>>> the systempath to point to classes.jar.
>>>
>>>  -Ryan
>>>
>>> On Mar 6, 2007, at 2:30 PM, Dan Tran wrote:
>>>
 jaxws is capable of automatically pickup tools.jar from
 ${java.home}/lib/tools.jar
 ( MacOS specific)

 What is the error?

 you may need to get the latest source and build your self.


 -D


 On 3/6/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I am trying to get the "jaxws-maven-plugin" up and running on my
> box. Evidently Apple has been kind enough to stick tools.jar
> elsewhere.
>
> Any reason why the snippet below wouldn't work?
>
> -Ryan
>
> Snippet:
>
> 
> 
> org.codehaus.mojo
> jaxws-maven-plugin
> 1.0-beta-1-SNAPSHOT
> 
> 
> 
> wsgen
> 
> 
> 
> 
> net.cuprak.ryanportal
> true
>
> 
> 
> 
> sun.jdk
> tools
> 1.5.0
> /System/Library/Frameworks/
> JavaVM.framework/Versions/1.5/Classes/classes.jar
> system
> 
> 
> 
>
> 
>
> --
> --
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>>>
>>>
>>> 
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Tools.jar---
> Apple-tf3357700s177.html#a9378680
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [m2] Tools.jar & Apple

2007-03-08 Thread Ryan Cuprak


I edited:
/Users//.m2/repository/org/codehaus/mojo/jaxws-maven-plugin/ 
1.0-beta-1-SNAPSHOT/jaxws-maven-plugin-1.0-beta-1-SNAPSHOT.pom


 However, I hit another roadblock once I got past that problem. The  
plugin can't find the class file for the Webservice annotation tag.  
Plan to download the source and tinker with it later today.


 -Ryan

On Mar 8, 2007, at 1:43 PM, jsolderitsch wrote:



Question -- Which pom file under .m2?

I find myself in exactly the same situation and error condition  
trying to

use the jax-ws plug-in on Mac OS X?

Ryan Cuprak wrote:



  Managed to get around the problem. I edited the pom file under .m2
to point directly at the classes.jar file on MacOS X. A bit of a hack
but it worked.

  -Ryan

On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:



The error message is:
Missing:
--
1) sun.jdk:tools:jar:1.5.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=sun.jdk - 
DartifactId=tools \

  -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-
beta-1-20070203.171044-8
2) sun.jdk:tools:jar:1.5.0


 On the mac, the classes that comprise the tools are located in:
 /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/
classes.jar
 Googling I come across postings where it is recommend that I alter
the systempath to point to classes.jar.

 -Ryan

On Mar 6, 2007, at 2:30 PM, Dan Tran wrote:


jaxws is capable of automatically pickup tools.jar from
${java.home}/lib/tools.jar
( MacOS specific)

What is the error?

you may need to get the latest source and build your self.


-D


On 3/6/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:


Hello,
I am trying to get the "jaxws-maven-plugin" up and running on my
box. Evidently Apple has been kind enough to stick tools.jar
elsewhere.

Any reason why the snippet below wouldn't work?

-Ryan

Snippet:



org.codehaus.mojo
jaxws-maven-plugin
1.0-beta-1-SNAPSHOT



wsgen




net.cuprak.ryanportal
true




sun.jdk
tools
1.5.0
/System/Library/Frameworks/
JavaVM.framework/Versions/1.5/Classes/classes.jar
system






-- 
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





 
-

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
View this message in context: http://www.nabble.com/Tools.jar--- 
Apple-tf3357700s177.html#a9378680

Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Tools.jar & Apple

2007-03-08 Thread jsolderitsch

Question -- Which pom file under .m2?

I find myself in exactly the same situation and error condition trying to
use the jax-ws plug-in on Mac OS X?

Ryan Cuprak wrote:
> 
> 
>   Managed to get around the problem. I edited the pom file under .m2  
> to point directly at the classes.jar file on MacOS X. A bit of a hack  
> but it worked.
> 
>   -Ryan
> 
> On Mar 6, 2007, at 2:37 PM, Ryan Cuprak wrote:
> 
>>
>> The error message is:
>> Missing:
>> --
>> 1) sun.jdk:tools:jar:1.5.0
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>   mvn install:install-file -DgroupId=sun.jdk -DartifactId=tools \
>>   -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
>>
>>   Path to dependency:
>> 1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0- 
>> beta-1-20070203.171044-8
>> 2) sun.jdk:tools:jar:1.5.0
>>
>>
>>  On the mac, the classes that comprise the tools are located in:
>>  /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/ 
>> classes.jar
>>  Googling I come across postings where it is recommend that I alter  
>> the systempath to point to classes.jar.
>>
>>  -Ryan
>>
>> On Mar 6, 2007, at 2:30 PM, Dan Tran wrote:
>>
>>> jaxws is capable of automatically pickup tools.jar from
>>> ${java.home}/lib/tools.jar
>>> ( MacOS specific)
>>>
>>> What is the error?
>>>
>>> you may need to get the latest source and build your self.
>>>
>>>
>>> -D
>>>
>>>
>>> On 3/6/07, Ryan Cuprak <[EMAIL PROTECTED]> wrote:

 Hello,
 I am trying to get the "jaxws-maven-plugin" up and running on my
 box. Evidently Apple has been kind enough to stick tools.jar  
 elsewhere.

 Any reason why the snippet below wouldn't work?

 -Ryan

 Snippet:

 
 
 org.codehaus.mojo
 jaxws-maven-plugin
 1.0-beta-1-SNAPSHOT
 
 
 
 wsgen
 
 
 
 
 net.cuprak.ryanportal
 true

 
 
 
 sun.jdk
 tools
 1.5.0
 /System/Library/Frameworks/
 JavaVM.framework/Versions/1.5/Classes/classes.jar
 system
 
 
 

 

  
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tools.jar---Apple-tf3357700s177.html#a9378680
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]