You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2010/07/08 02:56:49 UTC

[jira] Created: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

update ant eclipse-files target to include new jar and remove contrib dirs from build path
------------------------------------------------------------------------------------------

                 Key: PIG-1486
                 URL: https://issues.apache.org/jira/browse/PIG-1486
             Project: Pig
          Issue Type: Bug
          Components: tools
    Affects Versions: 0.8.0
            Reporter: Thejas M Nair
            Assignee: Thejas M Nair
            Priority: Minor
             Fix For: 0.8.0


 .eclipse.templates/.classpath needs to be updated to address following -
1. There is a new jar that is used by the code - guava-r03.jar
2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.


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


[jira] Updated: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1486:
-------------------------------

    Status: Patch Available  (was: Open)

> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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


[jira] Commented: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886195#action_12886195 ] 

Thejas M Nair commented on PIG-1486:
------------------------------------

When ANT_HOME path is present, i see an error "Unbounded classpath variable :.." error in the problems window of eclipse. But without that things are working fine for me. I am also able to run the ant targets from the ant view.
I don't have any idea why that path is needed. Are you having to setup any variable when you use this patch ?


> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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


[jira] Commented: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900768#action_12900768 ] 

Ashutosh Chauhan commented on PIG-1486:
---------------------------------------

meh.. Before testing thou shalt apply the patch !
After I applied the patch, works like a charm. +1

> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.1.patch, PIG-1486.2.patch, PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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


[jira] Updated: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1486:
-------------------------------

          Status: Resolved  (was: Patch Available)
    Hadoop Flags: [Reviewed]
      Resolution: Fixed

Patch committed to trunk.

> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.1.patch, PIG-1486.2.patch, PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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


[jira] Updated: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1486:
-------------------------------

    Attachment: PIG-1486.1.patch

Updated patch which includes guava and jython. It might need more changes after PIG-1452 is committed.


> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.1.patch, PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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


[jira] Commented: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886180#action_12886180 ] 

V.V.Chaitanya Krishna commented on PIG-1486:
--------------------------------------------

Thejas,

 Had a look at the patch and found that the ANT_HOME path is removed. This means that the variable has to be manually setup in order to get it running on eclipse, right?
 Am I missing something?

> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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


[jira] Commented: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887885#action_12887885 ] 

Ashutosh Chauhan commented on PIG-1486:
---------------------------------------

Took a look at the patch. Changes look good. But, because of PIG-1452 some additional changes are required. Need to remove lib/hadoop20.jar from eclipse build-path and hadoop-core.jar, hadoop-test.jar, apache-commons-* and few other jars needed to be added in, which now are pulled in from maven repos and put in build/ivy/lib/Pig

> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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


[jira] Commented: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900568#action_12900568 ] 

Ashutosh Chauhan commented on PIG-1486:
---------------------------------------

I did 
svn co https://svn.apache.org/repos/asf/hadoop/pig/trunk/ pig-1486
ant eclipse-files

and then imported pig-1486 as existing project in eclipse. I presume thats all I need to do.
Patch needs more updates after PIG-1520 . Essentially needs to remove owl from eclipse's build path. Further, eclipse also reported
* Unbound classpath variable: 'ANT_HOME/lib/ant.jar' in project 'pig-1486'
* Project 'pig-1486' is missing required library: 'lib/hadoop20.jar'



> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.1.patch, PIG-1486.2.patch, PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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


[jira] Updated: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1486:
-------------------------------

    Attachment: PIG-1486.patch

> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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


[jira] Commented: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

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

Hadoop QA commented on PIG-1486:
--------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12448935/PIG-1486.patch
  against trunk revision 960062.

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

    +1 tests included.  The patch appears to include 3 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 failed core unit tests.

    -1 contrib tests.  The patch failed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/341/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/341/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/341/console

This message is automatically generated.

> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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


[jira] Updated: (PIG-1486) update ant eclipse-files target to include new jar and remove contrib dirs from build path

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1486:
-------------------------------

    Attachment: PIG-1486.2.patch

Patch updated after changes from PIG-1524 .


> update ant eclipse-files target to include new jar and remove contrib dirs from build path
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-1486
>                 URL: https://issues.apache.org/jira/browse/PIG-1486
>             Project: Pig
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.8.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: PIG-1486.1.patch, PIG-1486.2.patch, PIG-1486.patch
>
>
>  .eclipse.templates/.classpath needs to be updated to address following -
> 1. There is a new jar that is used by the code - guava-r03.jar
> 2. The jar "ANT_HOME/lib/ant.jar" gives an 'unbounded jar' error in eclipse.
> 3. Removing the contrib projects from class path as discussed in PIG-1390, until all libs necessary for the contribs are included in classpath.

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