cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristiano Costantini <cristiano.costant...@gmail.com>
Subject Re: cxf-codegen-plugin and <sourceRoot> integration in eclipse
Date Wed, 06 Nov 2013 09:20:40 GMT
Hi all,
thanks to inspecting CXF codegen maven plugin I've proposed a patch to
gwt-maven-plugin

https://github.com/gwt-maven-plugin/gwt-maven-plugin/issues/65

and

https://github.com/gwt-maven-plugin/gwt-maven-plugin/pull/66

hopefully it will get accepted and integrated.

Thank to you all ;-)

Cristiano


2013/11/5 Cristiano Costantini <cristiano.costantini@gmail.com>

> maybe it is these lines of code that do the integration?
>
> http://svn.apache.org/repos/asf/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
>
>   public void execute() throws MojoExecutionException {
>         // add the generated source into compile source
>         // do this step first to ensure the source folder will be added to
> the Eclipse classpath
>         if (project != null && getGeneratedSourceRoot() != null) {
>
> project.addCompileSourceRoot(getGeneratedSourceRoot().getAbsolutePath());
>         }
>         if (project != null && getGeneratedTestRoot() != null) {
>
> project.addTestCompileSourceRoot(getGeneratedTestRoot().getAbsolutePath());
>         }
> ...
>
> thank you and sorry if I'm a bit OT
>
>
>
>
>
> 2013/11/5 Cristiano Costantini <cristiano.costantini@gmail.com>
> >
> > Hi all,
> >
> > I see that whatever I set the <sourceRoot> value of cxf-codegen-plugin
> when executing the wsdl2java goal, then in eclipse that folder get added as
> a source folder.
> >
> > Could someone please tell me how that it is achieved?
> > I would like to have the same behavior in the gwt-mavan-plugin.
> >
> > Thank you,
> > Cristiano
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message