cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1582) Maven cxf-codegen-plugin:2.1 does not delete 'DONE' file
Date Tue, 20 May 2008 20:16:55 GMT

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

Daniel Kulp commented on CXF-1582:
----------------------------------


This is working as designed.

It's not supposed to delete the .DONE file.   The .DONE file is there to make sure you don't
keep running wsdl2java if nothing has changed.   By default, it just checks the timestamp
of the wsdl and compares it to the .DONE marker file to see.  If the wsdl is not newer, it
skips. 

The wsdlOption thing has a dependencies thing where you can specify additional files to check
the timestamp of:

<wsdlOption> 
<wsdl> 
${basedir}/src/main/resources/wsdl/service.wsdl 
</wsdl>
<dependencies>
   <dependency>${basedir}/src/main/resources/wsdl/myschema.xsd</dependency>
</dependencies> 
</wsdlOption> 




> Maven cxf-codegen-plugin:2.1 does not delete 'DONE' file
> --------------------------------------------------------
>
>                 Key: CXF-1582
>                 URL: https://issues.apache.org/jira/browse/CXF-1582
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1
>         Environment:  Java version: 1.5.0_13
> OS name: "mac os x" version: "10.4.11" arch: "i386"
>            Reporter: Cameron Ough
>            Priority: Minor
>
> When using wsdl2java codegen plugin from m2eclipse plugin, the 'DONE' file is not deleted
consistently, stopping successive attempts to regenerate source artifacts from WSDL.
> Pom section is as follows:
> 	<build>
> 		<plugins>
> 			<plugin>
> 				<groupId>org.apache.cxf</groupId>
> 				<artifactId>cxf-codegen-plugin</artifactId>
> 				<version>2.1</version>
> 				<executions>
> 					<execution>
> 						<phase>generate-sources</phase>
> 						<configuration>
> 							<sourceRoot>
> 								${basedir}/src/main/java/
> 							</sourceRoot>
> 							<wsdlOptions>
> 								<wsdlOption>
> 									<wsdl>
> 										${basedir}/src/main/resources/wsdl/service.wsdl
> 									</wsdl>
> 								</wsdlOption>
> 							</wsdlOptions>
> 						</configuration>
> 						<goals>
> 							<goal>wsdl2java</goal>
> 						</goals>
> 					</execution>
> 				</executions>
> 			</plugin>
> 		</plugins>
> 	</build>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message