apt -s does not work reliably, should be -d
-------------------------------------------

                 Key: MOJO-1478
                 URL: http://jira.codehaus.org/browse/MOJO-1478
             Project: Mojo
          Issue Type: Bug
          Components: apt
         Environment: Mac OSX, JDK 1.6, mvn 2.2.1, apt-maven-plugin 1.0-alpha-3
            Reporter: Peter Lynch
         Attachments: outputdir.patch

setting the outputDirectory on the apt config causes it to be passed to apt 
executable using the '-s' option.

Unfortunately this does not work. Instead sources get put in the directory 
where mvn is launched.

Comparing this behavior with the way Ant invokes apt shows that Ant uses '-d' 
option in all cases, whether compiling or not - and it works so a similar 
change to apt-maven-plugin would seem very safe and cause it to work as 
documented and  described.

Attached is a patch which fixes this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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