Wolfgang Winter created MOJO-1802:
-------------------------------------

             Summary: Directories are not created
                 Key: MOJO-1802
                 URL: https://jira.codehaus.org/browse/MOJO-1802
             Project: Mojo
          Issue Type: Bug
          Components: apt
    Affects Versions: apt-maven-plugin-1.0-alpha-4
            Reporter: Wolfgang Winter
            Priority: Critical


The default directories generated-sources\apt are not created when using 
following config:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>apt-maven-plugin</artifactId>
  <version>1.0-alpha-4</version>
  <executions>
    <execution>
      <goals>
        <goal>process</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Error is:
[INFO] --- apt-maven-plugin:1.0-alpha-4:process (default) @ abo-mocks ---
[INFO] Processing 6 source files
java.io.IOException: 
E:\projekte\maven.1326720320466\abo-web-parent\abo-mocks\target\generated-sources\apt:
 non-existent directory
        at 
com.sun.codemodel.internal.writer.FileCodeWriter.<init>(FileCodeWriter.java:62)
        at 
com.sun.codemodel.internal.writer.FileCodeWriter.<init>(FileCodeWriter.java:55)
        at 
com.sun.tools.internal.ws.wscompile.WSCodeWriter.<init>(WSCodeWriter.java:44)
        at 
com.sun.tools.internal.ws.wscompile.FilerCodeWriter.<init>(FilerCodeWriter.java:47)
        at 
com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceWrapperGenerator.doPostProcessWebService(WebServiceWrapperGenerator.java:99)
        at 
com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceWrapperGenerator.postProcessWebService(WebServiceWrapperGenerator.java:90)
        at 
com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:136)
        at 
com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(Unknown Source)
        at 
com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:315)
        at 
com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:256)
        at 
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
        at com.sun.tools.apt.comp.Apt.main(Unknown Source)
        at com.sun.tools.apt.main.JavaCompiler.compile(Unknown Source)
        at com.sun.tools.apt.main.Main.compile(Unknown Source)
        at com.sun.tools.apt.main.Main.compile(Unknown Source)
        at com.sun.tools.apt.Main.processing(Unknown Source)
        at com.sun.tools.apt.Main.process(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.mojo.apt.AptUtils.invoke(AptUtils.java:114)
        at 
org.codehaus.mojo.apt.AbstractAptMojo.executeApt(AbstractAptMojo.java:389)
        at 
org.codehaus.mojo.apt.AbstractAptMojo.executeImpl(AbstractAptMojo.java:263)
        at 
org.codehaus.mojo.apt.AbstractAptMojo.execute(AbstractAptMojo.java:240)


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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to