Dims, Sure i 'll look into that and submit a patch.

Thanks, Lin

Davanum Srinivas wrote:
Lin,

I think we can use ListableRepository interface somehow then we can
get rid of the version information. But i think we may have to fix
Maven2Repository to work even we don't pass in the version field in
Artifact. Can you please take a look at that?

thanks,
dims

On 4/10/07, Lin Sun <[EMAIL PROTECTED]> wrote:
Hi Jason,

We are doing this specifically for the wsgen tool which is hard to use
and requires around 10 jars.   Basically, we need to not only make sure
most of the jars are loaded by geronimo server but also build a
classpath string that contains the path to every single jars and pass it
over to the tool's API.  I cannot figure out a better way to do this
other than specify the jars we need and find them in the repository.
If anyone has a better solution i am happy to submit a patch for it.

Thanks,

Lin


Jason Dillon wrote:
> Yikes... why is there version information hard coded here? This is just
> asking for things to get out of sync. :-(
>
> --jason
>
>
> On Apr 10, 2007, at 6:01 PM, [EMAIL PROTECTED] wrote:
>
>> Author: dims
>> Date: Tue Apr 10 18:01:43 2007
>> New Revision: 527355
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=527355
>> Log:
>> drop the SNAPSHOT for jaxws rt and tools
>>
>> Modified:
>>
>> geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2BuilderUtil.java
>>
>>
>> Modified:
>> geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2BuilderUtil.java
>>
>> URL:
>> http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2BuilderUtil.java?view=diff&rev=527355&r1=527354&r2=527355
>>
>> ==============================================================================
>>
>> ---
>> geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2BuilderUtil.java
>> (original)
>> +++
>> geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2BuilderUtil.java
>> Tue Apr 10 18:01:43 2007
>> @@ -42,8 +42,8 @@
>>      private final static Artifact JAXB_API_ARTIFACT = new
>> Artifact("javax.xml.bind","jaxb-api", "2.0", "jar");
>>      private final static Artifact JAXB_IMPL_ARTIFACT = new
>> Artifact("com.sun.xml.bind","jaxb-impl", "2.0.3", "jar");
>>      private final static Artifact JAXB_XJC_ARTIFACT = new
>> Artifact("com.sun.xml.bind","jaxb-xjc", "2.0.3", "jar");
>> -    private final static Artifact JAXWS_TOOLS_ARTIFACT = new
>> Artifact("com.sun.xml.ws","jaxws-tools", "2.0-SNAPSHOT", "jar");
>> -    private final static Artifact JAXWS_RT_ARTIFACT = new
>> Artifact("com.sun.xml.ws","jaxws-rt", "2.0-SNAPSHOT", "jar");
>> +    private final static Artifact JAXWS_TOOLS_ARTIFACT = new
>> Artifact("com.sun.xml.ws","jaxws-tools", "2.0", "jar");
>> +    private final static Artifact JAXWS_RT_ARTIFACT = new
>> Artifact("com.sun.xml.ws","jaxws-rt", "2.0", "jar");
>>      private final static Artifact GERONIMO_ACTIVATION_SPEC_ARTIFACT =
>> new
>> Artifact("org.apache.geronimo.specs","geronimo-activation_1.1_spec",
>> "1.0-SNAPSHOT", "jar");
>>      private final static Artifact GERONIMO_ANNOTATION_ARTIFACT = new
>> Artifact("org.apache.geronimo.specs","geronimo-annotation_1.0_spec",
>> "1.0", "jar");
>>      private final static Artifact GERONIMO_WS_METADATA_ARTIFACT = new
>> Artifact("org.apache.geronimo.specs","geronimo-ws-metadata_2.0_spec",
>> "1.1-SNAPSHOT", "jar");
>>
>>
>
>





Reply via email to