[ 
https://issues.apache.org/jira/browse/CXF-3778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125406#comment-13125406
 ] 

Sergey Beryozkin commented on CXF-3778:
---------------------------------------

Hi, I never asked you to run it in a debug mode, can you please 
do 'mvn clean generate-sources 
-Djava.util.logging.config.file=logging.properties' where logging.properties 
sets a FINE level for ConsoleHandler,

and get some info from the output ?
Something like this:
11-Oct-2011 22:21:46 
org.apache.cxf.tools.common.toolspec.parser.CommandLineParser parseArguments
FINE: <command xmlns="http://cxf.apache.org/Xutil/Command"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://cxf.apache.org/Xutil/Command 
http://cxf.apache.org/schema/xutil/commnad.xsd";>
<option 
name="outputdir">/home/sberyozkin/work/apache/cxf/trunk/systests/jaxrs/target/generated/src/main/java</option>
<option name="packagename">org.apache.cxf.systest.jaxrs.codegen.service</option>
<option 
name="schemaPackagename">http://superbooks=org.apache.cxf.systest.jaxrs.codegen.schema</option>
<option name="impl"/>
<option name="interface"/>
<option name="verbose"/>
<argument 
name="wadl">file:/home/sberyozkin/work/apache/cxf/trunk/systests/jaxrs/src/test/resources/wadl/bookstoreImport.xml</argument>
</command>

etc. Most likely it's something to do with the env but you never know...
                
> cxf-wadl2java-plugin (maven) does not generate an implementing service-class, 
> neither with <impl>true</impl> nor with <extraarg>-impl</extraarg>
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3778
>                 URL: https://issues.apache.org/jira/browse/CXF-3778
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.4.1, 2.4.2
>         Environment: Maven 3.0-SNAPSHOT
> Oracle Java jdk1.6_24
>            Reporter: Oliver Jelinski
>         Attachments: RestTestService.wadl, RestTestService.xsd, rest-test.zip
>
>
> cxf-wadl2java-plugin (maven) does not generate an implementing service-class, 
> neither with <impl>true</true> nor with <extraarg>-impl</extraarg>.
> For example with these declarations:
> ...
>   <properties>
>     <cxf.version>2.4.2</cxf.version>
>   </properties>
>   <dependencies>
>     <dependency>
>       <groupId>org.apache.cxf</groupId>
>       <artifactId>cxf-rt-frontend-jaxrs</artifactId>
>       <version>${cxf.version}</version>
>     </dependency>
>   </dependencies>
> ...
>             <plugin>
>                 <groupId>org.apache.cxf</groupId>
>                 <artifactId>cxf-wadl2java-plugin</artifactId>
>                 <version>${cxf.version}</version>
>                 <executions>
>                     <execution>
>                         <id>generate-sources</id>
>                         <phase>generate-sources</phase>
>                         <configuration>
>                             
> <sourceRoot>${basedir}/target/generated-sources/cxf-rs</sourceRoot>
>                             <wadlOptions>
>                                 <wadlOption>
>                                     
> <wadl>${basedir}/src/main/resources/wadl/RestTestService.wadl</wadl>
>                                                       <extraargs>
>                                                           
> <extraarg>-impl</extraarg>
>                                                           
> <extraarg>-interface</extraarg>
>                                                           
> <extraarg>-verbose</extraarg>
>                                                       </extraargs>
>                                     
>                                     
> <packagename>rest.test.service</packagename>
>                                     <schemaPackagenames>
>                                        
> <schemaPackagename>http://example.com/rest-test=rest.test.types</schemaPackagename>
>                                     </schemaPackagenames>
>                                     
>                                 </wadlOption>
>                             </wadlOptions>
>                         </configuration>
>                         <goals>
>                             <goal>wadl2java</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> ...
> Build is sucessful, the interface is generated, as well as the xml-types, but 
> the impl class isn't.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to