[ 
https://issues.apache.org/jira/browse/PIG-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856165#action_12856165
 ] 

Daniel Dai commented on PIG-1359:
---------------------------------

Hi, Gianmarco,
Thanks for your concern. Actually we need one additional step to make bin/pig 
work. We shall copy $PIG_HOME/build/pig-0.8.0-dev.jar to 
$PIG_HOME/pig-0.8.0-core.jar. This will be handled in ant's "package" target 
when releasing. But if you check out from svn, we will do this additional step 
to work with bin/pig.

> bin/pig script does not pick up correct jar libraries
> -----------------------------------------------------
>
>                 Key: PIG-1359
>                 URL: https://issues.apache.org/jira/browse/PIG-1359
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>         Environment: Linux Ubuntu 8.10, java-6-sun
>            Reporter: Gianmarco De Francisci Morales
>            Priority: Trivial
>             Fix For: 0.8.0
>
>         Attachments: pig-1359.patch
>
>
> The bin/pig script tries to load pig jar libraries from the pig-*-core.jar 
> using this bash fragment
> {code}
> # for releases, add core pig to CLASSPATH
> for f in $PIG_HOME/pig-*core.jar; do
>     CLASSPATH=${CLASSPATH}:$f;
> done
> # during development pig jar might be in build
> for f in $PIG_HOME/build/pig-*-core.jar; do
>     CLASSPATH=${CLASSPATH}:$f;
> done
> {code} 
> The pig-\*-core.jar does not contain the dependencies for pig that are found 
> in build/ivy/lib/Pig/\*.jar (jline).
> The script does not even pick the pig.jar in PIG_HOME that is produced as a 
> result of the ant build process.
> This results in the following error after successfully building pig:
> {code} 
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> jline/ConsoleReaderInputStream
> Caused by: java.lang.ClassNotFoundException: jline.ConsoleReaderInputStream
> {code} 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to