Hi,

cleaned up (no more runtime weaving)
+ tomcat7-maven-plugin (integration test)

2017-01-27 14:27 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>:

> Thanks for preparing it,
>
> Can you please add a Jetty or Tomcat plugin which can be used to run the
> demo ? I was hoping to do a quick try this morning, I've tried Jetty9,
> older Jetty Maven plugins, dropped it into a standalone Tomcat 8, the demo
> fails to start for various reasons (no runt time weaving support, some
> classes are missing, etc)
>
> Cheers, Sergey
>
> On 25/01/17 05:31, Vjacheslav V. Borisov wrote:
>
>> This is example project
>> https://github.com/slavb18/testjavadoc
>>
>> 2017-01-24 16:28 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>:
>>
>> Sure, I see what you mean, I did not think of it at a time.
>>> If you could set up a Maven test project where a javadocs jar is on the
>>> classpath then it will be easier for me to prioritize and experiment with
>>> the parser code, otherwise a creating a dedicated CXF test module will
>>> take
>>> time.
>>>
>>> Cheers, Sergey
>>>
>>>
>>> On 24/01/17 07:06, Vjacheslav V. Borisov wrote:
>>>
>>> No, I am talking about different (may be found impossible by author)
>>>> realisation of javadoc parsing
>>>> Since it is regular jar, and packaged as dependency, its contents
>>>> accesible
>>>> as  regular classpath resource.
>>>> Point.class.getResource("Point.html") - e.g. this is working,  can get
>>>> javadoc of class
>>>>
>>>> 2017-01-23 16:49 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>:
>>>>
>>>> Hi
>>>>
>>>>>
>>>>> Freeman did it for a java2wadl, where JavaDocs info gets collected
>>>>> during
>>>>> the build time, but at the runtime JavaDocs are only visible from the
>>>>> dedicated jar.
>>>>> I do not know how would one load a javadocs jar without knowing the
>>>>> full
>>>>> Jar name, perhaps it can be done based on some convention...
>>>>>
>>>>> Sergey
>>>>>
>>>>>
>>>>> On 22/01/17 16:21, Vjacheslav V. Borisov wrote:
>>>>>
>>>>> Hi!
>>>>>
>>>>>>
>>>>>> I have configured javadoc using this config:
>>>>>>
>>>>>>     <bean id="swagger2Serializers"
>>>>>> class="org.apache.cxf.jaxrs.swagger.DefaultSwagger2Serializers">
>>>>>>         <property name="javaDocPath"
>>>>>> value="WEB-INF/lib/bankaccounting-api-1.0-SNAPSHOT-javadoc.jar"/>
>>>>>>     </bean>
>>>>>>     <bean id="swagger2Feature"
>>>>>> class="org.apache.cxf.jaxrs.swagger.Swagger2Feature">
>>>>>>         <property name="swagger2Serializers"
>>>>>> ref="swagger2Serializers"/>
>>>>>>
>>>>>> But this jar is regular war dependency lib, is there possibility to
>>>>>> configure javadoc using regular classpath, not referencing actual jar
>>>>>> version?
>>>>>>
>>>>>> 2017-01-17 17:08 GMT+04:00 Francesco Chicchiriccò <
>>>>>> ilgro...@apache.org
>>>>>>
>>>>>>> :
>>>>>>>
>>>>>>
>>>>>>
>>>>>> The DefaultSwagger2Serializers class requires a JavadocProvider in
>>>>>> order
>>>>>>
>>>>>>> to be able to extract info from Javadocs; use one the methods [1] to
>>>>>>> configure.
>>>>>>>
>>>>>>> HTH
>>>>>>> Regards.
>>>>>>>
>>>>>>> [1] https://github.com/apache/cxf/blob/3.1.x-fixes/rt/rs/
>>>>>>> description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/
>>>>>>> DefaultSwagger2Serializers.java#L198-L217
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> --
>>>>> Sergey Beryozkin
>>>>>
>>>>> Talend Community Coders
>>>>> http://coders.talend.com/
>>>>>
>>>>>
>>>>>
>>>>
>>> --
>>> Sergey Beryozkin
>>>
>>> Talend Community Coders
>>> http://coders.talend.com/
>>>
>>>
>>
>

Reply via email to