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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/06/02 20:31:45 UTC

[jira] Created: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Need to update Eclipse template to reflect current trunk
--------------------------------------------------------

                 Key: HADOOP-3480
                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
             Project: Hadoop Core
          Issue Type: Bug
          Components: build
            Reporter: Tsz Wo (Nicholas), SZE
            Priority: Minor


Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.

Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605755#action_12605755 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3480:
------------------------------------------------

In the wiki page, it says "Run the eclipse-files ant target."  I have not done it last time.

I just have tried "ant eclipse-files".  Then, @PROJECT@ in Hadoop_Ant_Builder.launch is replaced by an empty string.  When I open eclipse, eclipse says 
{noformat}
An internal error occurred during: "Compute launch button tooltip".
Path must include project and resource name: /build.xml
{noformat}


> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Minor
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Updated: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

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

Tom White updated HADOOP-3480:
------------------------------

    Attachment: hadoop-3480-v2.patch

Nicholas,

Does this patch fix the problem for you?

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480-v2.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603942#action_12603942 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3480:
------------------------------------------------

> The README has a link to the wiki where you can find the instructions on how to get it to work.

The wiki http://wiki.apache.org/hadoop/EclipseEnvironment describe using eclipse *without* the template and the description in the wiki is already out-dated.

> 7. I change ${workspace_loc:/@PROJECT@/build.xml} to /@PROJECT@/build.xml

Is it a bug?  Or I have to set something in eclipse?

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Minor
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Updated: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

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

Tom White updated HADOOP-3480:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I've just committed this. Thanks Brice!

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480-v2.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Brice Arnould (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606664#action_12606664 ] 

Brice Arnould commented on HADOOP-3480:
---------------------------------------

*@Tsz Wo (Nicholas), SZE*
Are you running windows ? What is the path to your project ?
The regexp that tries to deduce project's name from the path is {{<regexpmapper from="^.*/([^/]+)$$" to="\1"/>}} I guess that there is something in your path it doesn't like.

*@Owen O'Malley*
It seems not to be ready yet because of the issue above, but if the problem comes from the regexp the fix will be quick.

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603647#action_12603647 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3480:
------------------------------------------------

Tried the latest patch.  I have done the following steps:
# Eclipse svn check out 
# Quit eclipse
# Copy and overwrite existing files from .eclipse.templates/* to the project root
# run "ant test ..." to generate build/test/classes
# Start eclipse, refresh, clean, rebuild
# Eclipse complains "Variable references non-existent resource: ${workspace_loc:/@PROJECT@/build.xml} "
# I change ${workspace_loc:/@PROJECT@/build.xml}  to /@PROJECT@/build.xml

It seems works finally.  

I am not sure whether the steps above are correct.  I think it is not obvious to figure out how to use the template.  It will be great if the README could include some instruction using the template.

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Minor
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Updated: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

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

Tom White updated HADOOP-3480:
------------------------------

    Hadoop Flags: [Reviewed]
          Status: Patch Available  (was: Open)

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480-v2.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606835#action_12606835 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3480:
------------------------------------------------

Yes, Windows.  The path is /cygdrive/d/@sze/hadoop/testing

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608409#action_12608409 ] 

Hudson commented on HADOOP-3480:
--------------------------------

Integrated in Hadoop-trunk #530 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/530/])

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480-v2.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606922#action_12606922 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3480:
------------------------------------------------

Here is the problem on Windows:  I added
{code}<echo>basedir=${basedir}</echo>{code}
right before <pathconvert property="eclipse.project"> and the ant output is
{noformat}
     [echo]       basedir=d:\@sze\hadoop\testing
{noformat}
Since the path separator in Windows is \, so the pattern does not work.


> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Updated: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

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

Tom White updated HADOOP-3480:
------------------------------

    Attachment: hadoop-3480.patch

Updated patch to add tools source directory (https://issues.apache.org/jira/browse/HADOOP-3512), test jars for the FTPFileSystem, and a README.txt.

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Minor
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Updated: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

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

Owen O'Malley updated HADOOP-3480:
----------------------------------

         Priority: Blocker  (was: Minor)
    Fix Version/s: 0.18.0

Doesn't this need to be fixed for 0.18 as a blocker? Is it ready to be Patch Avail?

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607723#action_12607723 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3480:
------------------------------------------------

+1, hadoop-3480-v2.patch works well.


> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480-v2.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Updated: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

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

Brice Arnould updated HADOOP-3480:
----------------------------------

    Attachment: fixEclipseBreaks.patch

It seems to me that this template often regress due to libraries updates or changing paths. This patch try to fix the current breaks and add to tests to test-patch in an attempt to lower the probability they reappears (it checks for missing libraries and directories).

It do not adds things from contrib/ altough, because I'm unsure about what should be added and what should not (for example, fuse-dfs is a C code, something that Eclipse doesn't support out of the box).

What would you like to be in the README ?

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Minor
>         Attachments: fixEclipseBreaks.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603825#action_12603825 ] 

Tom White commented on HADOOP-3480:
-----------------------------------

bq. It will be great if the README could include some instruction using the template.

The README has a link to the wiki where you can find the instructions on how to get it to work. I find Eclipse does need a bit of prodding with refreshes and rebuilds to get it working.

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Minor
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605671#action_12605671 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3480:
------------------------------------------------

>There's a section called "Configuring Eclipse to build Hadoop" which describes the new process.
Oops, I missed it.  I have searched "template" in the Wiki page but nothing was found.

> I wonder if it is a version problem - I'm using Eclipse 3.3.1.1.
Mine is:
Eclipse Platform
Version: 3.3.2
Build id: M20080221-1800


> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Minor
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605544#action_12605544 ] 

Tom White commented on HADOOP-3480:
-----------------------------------

bq. The wiki http://wiki.apache.org/hadoop/EclipseEnvironment describe using eclipse without the template and the description in the wiki is already out-dated.

There's a section called "Configuring Eclipse to build Hadoop" which describes the new process. The section below is the old manual process which is probably out of date and should be removed now.

bq. > 7. I change ${workspace_loc:/@PROJECT@/build.xml} to /@PROJECT@/build.xml
bq. Is it a bug? Or I have to set something in eclipse?

workspace_loc is a built in variable, so you shouldn't have to set anything. I wonder if it is a version problem - I'm using Eclipse 3.3.1.1.

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Minor
>         Attachments: fixEclipseBreaks.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Updated: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

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

Brice Arnould updated HADOOP-3480:
----------------------------------

    Attachment:     (was: fixHusondBreak3480.patch)

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480-v2.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Updated: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

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

Brice Arnould updated HADOOP-3480:
----------------------------------

    Attachment: fixHusondBreak3480.patch

:-$ Please excuse me. Your very detailed bug report allowed me to write a fix. Thanks !

I tested it by creating a fake ${SUPPORT_DIR} of which I copied the content into the project, so I hope it is right. But calling it from Hudson would be the best way to test it.

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, fixHusondBreak3480.patch, hadoop-3480-v2.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Assigned: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

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

Brice Arnould reassigned HADOOP-3480:
-------------------------------------

    Assignee: Brice Arnould

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Minor
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Commented: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607938#action_12607938 ] 

Hadoop QA commented on HADOOP-3480:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12384431/hadoop-3480-v2.patch
  against trunk revision 671385.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 9 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2733/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2733/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2733/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2733/console

This message is automatically generated.

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480-v2.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Updated: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

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

Brice Arnould updated HADOOP-3480:
----------------------------------

    Comment: was deleted

> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480-v2.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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


[jira] Issue Comment Edited: (HADOOP-3480) Need to update Eclipse template to reflect current trunk

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607723#action_12607723 ] 

szetszwo edited comment on HADOOP-3480 at 6/24/08 11:56 AM:
--------------------------------------------------------------------------

+1, hadoop-3480-v2.patch works well in Windows, thanks Tom.


      was (Author: szetszwo):
    +1, hadoop-3480-v2.patch works well.

  
> Need to update Eclipse template to reflect current trunk
> --------------------------------------------------------
>
>                 Key: HADOOP-3480
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3480
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Brice Arnould
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: fixEclipseBreaks.patch, hadoop-3480-v2.patch, hadoop-3480.patch
>
>
> Since there are new libraries (e.g. src/test/lib) and new contrib package (e.g. src/contrib/fuse-dfs) added, the current Eclipse template does not work.
> Also, it would be great if there is a README for the Eclipse template.

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