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/<username>/.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:
>>>>>
>>>>> <plugins>
>>>>> <plugin>
>>>>> <groupId>org.codehaus.mojo</groupId>
>>>>> <artifactId>jaxws-maven-plugin</artifactId>
>>>>> <version>1.0-beta-1-SNAPSHOT</version>
>>>>> <executions>
>>>>> <execution>
>>>>> <goals>
>>>>> <goal>wsgen</goal>
>>>>> </goals>
>>>>> </execution>
>>>>> </executions>
>>>>> <configuration>
>>>>> <sei>net.cuprak.ryanportal</sei>
>>>>> <genWsdl>true</genWsdl>
>>>>>
>>>>> </configuration>
>>>>> <dependencies>
>>>>> <dependency>
>>>>> <groupId>sun.jdk</groupId>
>>>>> <artifactId>tools</artifactId>
>>>>> <version>1.5.0</version>
>>>>> <systemPath>/System/Library/Frameworks/
>>>>> JavaVM.framework/Versions/1.5/Classes/classes.jar</systemPath>
>>>>> <scope>system</scope>
>>>>> </dependency>
>>>>> </dependencies>
>>>>> </plugin>
>>>>>
>>>>> </plugins>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> --
>>>>> -
>>>>> 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]