You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Albert Strasheim (JIRA)" <ji...@apache.org> on 2007/04/08 18:23:32 UTC

[jira] Created: (HADOOP-1228) Eclipse project files

Eclipse project files
---------------------

                 Key: HADOOP-1228
                 URL: https://issues.apache.org/jira/browse/HADOOP-1228
             Project: Hadoop
          Issue Type: Improvement
          Components: build
            Reporter: Albert Strasheim
            Priority: Minor
         Attachments: .classpath, .project

I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.

The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.

A few features:

- Eclipse automatically calls the Ant build to generate some of the necessary source files
- Single unit tests can be run from inside Eclipse
- Basic Java code style formatter settings for the Hadoop conventions (still needs some work)

The following VM arguments must be specified in the run configuration to get unit tests to run:

-Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data

Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).

TODO:

- Specify native library location(s) once I investigate building of Hadoop's native library
- Get all the unit tests to run

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-1228) Eclipse project files

Posted by "Mark Butler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534890 ] 

Mark Butler commented on HADOOP-1228:
-------------------------------------

Unfortunately it is not possible to have a standard project file for Eclipse because 

org.apache.hadoop.record.compiler.ant.RccTask

needs ant.jar. This was removed here https://issues.apache.org/jira/browse/HADOOP-1726

so consequently within Eclipse we do not know where it is, as I am not aware of way to reference the default Java classpath in Eclipse. 

I am guessing this is not a big problem, because most people on the project do not use Eclipse. Users who do should follow the advice here

http://wiki.apache.org/lucene-hadoop/EclipseEnvironment

I also enclose a patch that does all of the Eclipse configuration except the ant.jar part. 



> Eclipse project files
> ---------------------
>
>                 Key: HADOOP-1228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1228
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: build
>            Reporter: Albert Strasheim
>            Priority: Minor
>         Attachments: .classpath, .project, hadoop-eclipse.zip
>
>
> I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
> The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
> A few features:
> - Eclipse automatically calls the Ant build to generate some of the necessary source files
> - Single unit tests can be run from inside Eclipse
> - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
> The following VM arguments must be specified in the run configuration to get unit tests to run:
> -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
> Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
> TODO:
> - Specify native library location(s) once I investigate building of Hadoop's native library
> - Get all the unit tests to run

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1228) Eclipse project files

Posted by "Mark Butler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Butler updated HADOOP-1228:
--------------------------------

    Attachment: eclipse.patch

Patch file that provides files needed to compile Hadoop in Eclipse, although the location of ant.jar still needs configuring.

> Eclipse project files
> ---------------------
>
>                 Key: HADOOP-1228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1228
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: build
>            Reporter: Albert Strasheim
>            Priority: Minor
>         Attachments: .classpath, .project, eclipse.patch, hadoop-eclipse.zip
>
>
> I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
> The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
> A few features:
> - Eclipse automatically calls the Ant build to generate some of the necessary source files
> - Single unit tests can be run from inside Eclipse
> - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
> The following VM arguments must be specified in the run configuration to get unit tests to run:
> -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
> Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
> TODO:
> - Specify native library location(s) once I investigate building of Hadoop's native library
> - Get all the unit tests to run

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1228) Eclipse project files

Posted by "Albert Strasheim (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Albert Strasheim updated HADOOP-1228:
-------------------------------------

    Attachment: .classpath

Eclipse project file

> Eclipse project files
> ---------------------
>
>                 Key: HADOOP-1228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1228
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: build
>            Reporter: Albert Strasheim
>            Priority: Minor
>         Attachments: .classpath, .project
>
>
> I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
> The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
> A few features:
> - Eclipse automatically calls the Ant build to generate some of the necessary source files
> - Single unit tests can be run from inside Eclipse
> - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
> The following VM arguments must be specified in the run configuration to get unit tests to run:
> -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
> Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
> TODO:
> - Specify native library location(s) once I investigate building of Hadoop's native library
> - Get all the unit tests to run

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1228) Eclipse project files

Posted by "Mark Butler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Butler updated HADOOP-1228:
--------------------------------

    Attachment:     (was: eclipse.patch)

> Eclipse project files
> ---------------------
>
>                 Key: HADOOP-1228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1228
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: build
>            Reporter: Albert Strasheim
>            Priority: Minor
>         Attachments: .classpath, .project, eclipse.patch, hadoop-eclipse.zip
>
>
> I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
> The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
> A few features:
> - Eclipse automatically calls the Ant build to generate some of the necessary source files
> - Single unit tests can be run from inside Eclipse
> - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
> The following VM arguments must be specified in the run configuration to get unit tests to run:
> -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
> Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
> TODO:
> - Specify native library location(s) once I investigate building of Hadoop's native library
> - Get all the unit tests to run

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1228) Eclipse project files

Posted by "Mark Butler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Butler updated HADOOP-1228:
--------------------------------

    Comment: was deleted

> Eclipse project files
> ---------------------
>
>                 Key: HADOOP-1228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1228
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: build
>            Reporter: Albert Strasheim
>            Priority: Minor
>         Attachments: .classpath, .project, eclipse.patch, hadoop-eclipse.zip
>
>
> I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
> The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
> A few features:
> - Eclipse automatically calls the Ant build to generate some of the necessary source files
> - Single unit tests can be run from inside Eclipse
> - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
> The following VM arguments must be specified in the run configuration to get unit tests to run:
> -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
> Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
> TODO:
> - Specify native library location(s) once I investigate building of Hadoop's native library
> - Get all the unit tests to run

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1228) Eclipse project files

Posted by "Albert Strasheim (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Albert Strasheim updated HADOOP-1228:
-------------------------------------

    Attachment: hadoop-eclipse.zip

All the pieces needed by Eclipse

> Eclipse project files
> ---------------------
>
>                 Key: HADOOP-1228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1228
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: build
>            Reporter: Albert Strasheim
>            Priority: Minor
>         Attachments: .classpath, .project, hadoop-eclipse.zip
>
>
> I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
> The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
> A few features:
> - Eclipse automatically calls the Ant build to generate some of the necessary source files
> - Single unit tests can be run from inside Eclipse
> - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
> The following VM arguments must be specified in the run configuration to get unit tests to run:
> -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
> Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
> TODO:
> - Specify native library location(s) once I investigate building of Hadoop's native library
> - Get all the unit tests to run

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1228) Eclipse project files

Posted by "Albert Strasheim (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Albert Strasheim updated HADOOP-1228:
-------------------------------------

    Attachment: .project

Eclipse project file

> Eclipse project files
> ---------------------
>
>                 Key: HADOOP-1228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1228
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: build
>            Reporter: Albert Strasheim
>            Priority: Minor
>         Attachments: .classpath, .project
>
>
> I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
> The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
> A few features:
> - Eclipse automatically calls the Ant build to generate some of the necessary source files
> - Single unit tests can be run from inside Eclipse
> - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
> The following VM arguments must be specified in the run configuration to get unit tests to run:
> -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
> Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
> TODO:
> - Specify native library location(s) once I investigate building of Hadoop's native library
> - Get all the unit tests to run

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-1228) Eclipse project files

Posted by "Mark Butler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Butler updated HADOOP-1228:
--------------------------------

    Attachment: eclipse.patch

Patch file that does adds Eclipse files that does most of the configuration required except the ant.jar issue. 

> Eclipse project files
> ---------------------
>
>                 Key: HADOOP-1228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1228
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: build
>            Reporter: Albert Strasheim
>            Priority: Minor
>         Attachments: .classpath, .project, eclipse.patch, hadoop-eclipse.zip
>
>
> I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
> The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
> A few features:
> - Eclipse automatically calls the Ant build to generate some of the necessary source files
> - Single unit tests can be run from inside Eclipse
> - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
> The following VM arguments must be specified in the run configuration to get unit tests to run:
> -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
> Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
> TODO:
> - Specify native library location(s) once I investigate building of Hadoop's native library
> - Get all the unit tests to run

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.