You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/15 16:07:47 UTC

[jira] Created: (MPJAVACC-2) Generate files are not compiled if not generated files are not present

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVACC-2

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVACC-2
    Summary: Generate files are not compiled if not generated files are not present
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javacc-plugin

   Assignee: 
   Reporter: Kenneth Leider

    Created: Thu, 15 Jul 2004 10:07 AM
    Updated: Thu, 15 Jul 2004 10:07 AM
Environment: Running maven rc4 with maven-javacc-plugin-1.1 and maven-javacc-plugin-1.4

Description:
Generated sources are placed in the target/generated-src/java/main directory, and this directory is added to maven.compile.src.set.

However when the maven-java-plugin runs the compile goal, it skips compilation completely because the "sourcesPresent" variable is not "true".   I can only assume this variable is set if the sources listed in the pom resolve to files.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPJAVA-42) Generate files are not compiled if not generated files are not present

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJAVA-42?page=all ]
     
Lukas Theussl closed MPJAVA-42:
-------------------------------

     Resolution: Fixed
    Fix Version: 1.6

> Generate files are not compiled if not generated files are not present
> ----------------------------------------------------------------------
>
>          Key: MPJAVA-42
>          URL: http://jira.codehaus.org/browse/MPJAVA-42
>      Project: maven-java-plugin
>         Type: Bug

>  Environment: Running maven rc4 with maven-javacc-plugin-1.1 and maven-javacc-plugin-1.4
>     Reporter: Kenneth Leider
>     Priority: Minor
>      Fix For: 1.6

>
>
> Generated sources are placed in the target/generated-src/java/main directory, and this directory is added to maven.compile.src.set.
> However when the maven-java-plugin runs the compile goal, it skips compilation completely because the "sourcesPresent" variable is not "true".   I can only assume this variable is set if the sources listed in the pom resolve to files.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJAVA-42) Generate files are not compiled if not generated files are not present

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPJAVA-42?page=comments#action_48959 ] 

Brett Porter commented on MPJAVA-42:
------------------------------------

I don't know if perhaps the sourcesPresent should be recalculated all the time, or just changed in the javacc plugin when the root is added.

> Generate files are not compiled if not generated files are not present
> ----------------------------------------------------------------------
>
>          Key: MPJAVA-42
>          URL: http://jira.codehaus.org/browse/MPJAVA-42
>      Project: maven-java-plugin
>         Type: Bug
>  Environment: Running maven rc4 with maven-javacc-plugin-1.1 and maven-javacc-plugin-1.4
>     Reporter: Kenneth Leider
>     Priority: Minor

>
>
> Generated sources are placed in the target/generated-src/java/main directory, and this directory is added to maven.compile.src.set.
> However when the maven-java-plugin runs the compile goal, it skips compilation completely because the "sourcesPresent" variable is not "true".   I can only assume this variable is set if the sources listed in the pom resolve to files.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJAVA-42) Generate files are not compiled if not generated files are not present

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPJAVA-42?page=comments#action_48957 ] 

fabrizio giustina commented on MPJAVA-42:
-----------------------------------------

moved from maven-javacc-plugin to maven-java-plugin.
The java plugin should also check for the ${maven.gen.src} directory

> Generate files are not compiled if not generated files are not present
> ----------------------------------------------------------------------
>
>          Key: MPJAVA-42
>          URL: http://jira.codehaus.org/browse/MPJAVA-42
>      Project: maven-java-plugin
>         Type: Bug
>  Environment: Running maven rc4 with maven-javacc-plugin-1.1 and maven-javacc-plugin-1.4
>     Reporter: Kenneth Leider
>     Priority: Minor

>
>
> Generated sources are placed in the target/generated-src/java/main directory, and this directory is added to maven.compile.src.set.
> However when the maven-java-plugin runs the compile goal, it skips compilation completely because the "sourcesPresent" variable is not "true".   I can only assume this variable is set if the sources listed in the pom resolve to files.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org