You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John David (JIRA)" <ji...@codehaus.org> on 2008/07/18 07:46:27 UTC

[jira] Created: (MNG-3669) getting compile time error "class PropertyTable is public, should be declared in a file named PropertyTable.java"

getting compile time error "class PropertyTable is public, should be declared in a file named PropertyTable.java"
-----------------------------------------------------------------------------------------------------------------

                 Key: MNG-3669
                 URL: http://jira.codehaus.org/browse/MNG-3669
             Project: Maven 2
          Issue Type: Bug
          Components: Dependencies
    Affects Versions: 2.0.5
         Environment: OS= windows2000 professioanl, platform = java,
            Reporter: John David


Hi Folks ,

when im compiling my java source with maven im getting the following compile time error

"class PropertyTable is public, should be declared in a file named PropertyTable.java".

when i dig into the code the above class is present with same package structure but in different jar files..

but this is working fine with ANT script..

could you please help me out in this...



regards

david

-- 
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

        

[jira] Commented: (MNG-3669) getting compile time error "class PropertyTable is public, should be declared in a file named PropertyTable.java"

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142270#action_142270 ] 

Benjamin Bentmann commented on MNG-3669:
----------------------------------------

bq. could you please help me out in this...
Possibly, if you only provide detailed information:
- a full debug log via "mvn compile -X > debug.log", attached to this issue
- your POM, at least the parts relevant for compilation
- the precise location of your PropertyTable.java within your project directory tree

Ideally, you would just trim down your project to a minimal test project that exhibits the problem and package that into a ZIP.

> getting compile time error "class PropertyTable is public, should be declared in a file named PropertyTable.java"
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3669
>                 URL: http://jira.codehaus.org/browse/MNG-3669
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.5
>         Environment: OS= windows2000 professioanl, platform = java,
>            Reporter: John David
>
> Hi Folks ,
> when im compiling my java source with maven im getting the following compile time error
> "class PropertyTable is public, should be declared in a file named PropertyTable.java".
> when i dig into the code the above class is present with same package structure but in different jar files..
> but this is working fine with ANT script..
> could you please help me out in this...
> regards
> david

-- 
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

        

[jira] Closed: (MNG-3669) getting compile time error "class PropertyTable is public, should be declared in a file named PropertyTable.java"

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-3669.
-----------------------------

    Resolution: Cannot Reproduce

won't be able to reproduce without more information - please consider bringing it to the users list if you still have a problem

> getting compile time error "class PropertyTable is public, should be declared in a file named PropertyTable.java"
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3669
>                 URL: http://jira.codehaus.org/browse/MNG-3669
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 2.0.5
>         Environment: OS= windows2000 professioanl, platform = java,
>            Reporter: John David
>
> Hi Folks ,
> when im compiling my java source with maven im getting the following compile time error
> "class PropertyTable is public, should be declared in a file named PropertyTable.java".
> when i dig into the code the above class is present with same package structure but in different jar files..
> but this is working fine with ANT script..
> could you please help me out in this...
> regards
> david

-- 
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