Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install directions #5

Open
schloerke opened this issue Aug 3, 2014 · 5 comments
Open

install directions #5

schloerke opened this issue Aug 3, 2014 · 5 comments

Comments

@schloerke
Copy link

install directions are outdated.

ant build-all does not exist. ant build?

There is no option of r-install listed in ant -p

@hafen
Copy link
Contributor

hafen commented Aug 3, 2014

indeed they are. @rperko3 , could you take a quick look at the README.md?

@schloerke
Copy link
Author

p.s. the commands ant build and ant clean build r-install all executed.

ant build passed

ant clean build r-install failed. This could easily be my system... but, here are my last couple sections of output:

_build-rhipe-jar:

mvn-assembly:
  [mvn:mvn] [INFO] Scanning for projects...
  [mvn:mvn] [INFO] Searching repository for plugin with prefix: 'assembly'.
  [mvn:mvn] [INFO] ------------------------------------------------------------------------
  [mvn:mvn] [INFO] Building Rhipe
  [mvn:mvn] [INFO]    task-segment: [assembly:assembly] (aggregator-style)
  [mvn:mvn] [INFO] ------------------------------------------------------------------------
  [mvn:mvn] [INFO] Preparing assembly:assembly
  [mvn:mvn] [INFO] ------------------------------------------------------------------------
  [mvn:mvn] [INFO] Building Rhipe
  [mvn:mvn] [INFO] ------------------------------------------------------------------------
  [mvn:mvn] [INFO] [resources:resources]
  [mvn:mvn] [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [mvn:mvn] [INFO] Copying 1 resource
  [mvn:mvn] [WARNING] POM for 'asm:asm:pom:3.1:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project asm:asm at /Users/barret/.m2/repository/asm/asm/3.1/asm-3.1.pom
  [mvn:mvn] [WARNING] POM for 'asm:asm:pom:3.1:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project asm:asm at /Users/barret/.m2/repository/asm/asm/3.1/asm-3.1.pom
  [mvn:mvn] [INFO] [compiler:compile]
  [mvn:mvn] [INFO] Compiling 36 source files to /Users/barret/Copy/git/other/RHIPE/target/classes
  [mvn:mvn] [INFO] -------------------------------------------------------------
  [mvn:mvn] [ERROR] COMPILATION ERROR : 
  [mvn:mvn] [INFO] -------------------------------------------------------------
  [mvn:mvn] [ERROR] error: error reading /Users/barret/.m2/repository/asm/asm/3.1/asm-3.1.jar; error in opening zip file
  [mvn:mvn] [INFO] 1 error
  [mvn:mvn] [INFO] -------------------------------------------------------------
  [mvn:mvn] [INFO] ------------------------------------------------------------------------
  [mvn:mvn] [ERROR] BUILD FAILURE
  [mvn:mvn] [INFO] ------------------------------------------------------------------------
  [mvn:mvn] [INFO] Compilation failure
  [mvn:mvn] error: error reading /Users/barret/.m2/repository/asm/asm/3.1/asm-3.1.jar; error in opening zip file
  [mvn:mvn] 
  [mvn:mvn] 
  [mvn:mvn] error: error reading /Users/barret/.m2/repository/asm/asm/3.1/asm-3.1.jar; error in opening zip file
  [mvn:mvn] 
  [mvn:mvn] [INFO] ------------------------------------------------------------------------
  [mvn:mvn] [INFO] For more information, run Maven with the -e switch
  [mvn:mvn] [INFO] ------------------------------------------------------------------------
  [mvn:mvn] [INFO] Total time: 8 seconds
  [mvn:mvn] [INFO] Finished at: Sat Aug 02 23:52:12 EDT 2014
  [mvn:mvn] [INFO] Final Memory: 26M/508M
  [mvn:mvn] [INFO] ------------------------------------------------------------------------

BUILD FAILED
/Users/barret/Copy/git/other/RHIPE/build.xml:136: The following error occurred while executing this line:
/Users/barret/Copy/git/other/RHIPE/build.xml:126: The following error occurred while executing this line:
/Users/barret/Copy/git/other/RHIPE/build.xml:182: The following error occurred while executing this line:
/Users/barret/Copy/git/other/RHIPE/build.xml:274: Java returned: 1

Total time: 47 seconds

@hafen
Copy link
Contributor

hafen commented Aug 3, 2014

Looks like you may have an issue with maven not finding everything it needs to find. Seems to be a common problem. While it's a maven thing, it might be good to have a note about how to deal with this. @rperko3 , do you recall how to deal with this? Perhaps you could add a note to the README.md about the issue and what to do.

@amwhite
Copy link
Contributor

amwhite commented Aug 4, 2014

I’ve had this problem before—I had to find and download the asm jar and pom manually because maven couldn’t find it. I think you will find if you open the asm-3.1.pom file referenced below in your local repo you will find it’s actually an HTML file saying the asm jar has been moved or is not found.

From: Barret Schloerke [mailto:notifications@github.com]
Sent: Saturday, August 02, 2014 9:07 PM
To: tesseradata/RHIPE
Subject: Re: [RHIPE] install directions (#5)

p.s. the commands ant build and ant clean build r-install all executed.

ant build passed

ant clean build r-install failed. This could easily be my system... but, here are my last couple sections of output:

_build-rhipe-jar:

mvn-assembly:

[mvn:mvn] [INFO] Scanning for projects...

[mvn:mvn] [INFO] Searching repository for plugin with prefix: 'assembly'.

[mvn:mvn] [INFO] ------------------------------------------------------------------------

[mvn:mvn] [INFO] Building Rhipe

[mvn:mvn] [INFO] task-segment: assembly:assembly

[mvn:mvn] [INFO] ------------------------------------------------------------------------

[mvn:mvn] [INFO] Preparing assembly:assembly

[mvn:mvn] [INFO] ------------------------------------------------------------------------

[mvn:mvn] [INFO] Building Rhipe

[mvn:mvn] [INFO] ------------------------------------------------------------------------

[mvn:mvn] [INFO] [resources:resources]

[mvn:mvn] [INFO] Using 'UTF-8' encoding to copy filtered resources.

[mvn:mvn] [INFO] Copying 1 resource

[mvn:mvn] [WARNING] POM for 'asm:asm:pom:3.1:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project asm:asm at /Users/barret/.m2/repository/asm/asm/3.1/asm-3.1.pom

[mvn:mvn] [WARNING] POM for 'asm:asm:pom:3.1:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project asm:asm at /Users/barret/.m2/repository/asm/asm/3.1/asm-3.1.pom

[mvn:mvn] [INFO] [compiler:compile]

[mvn:mvn] [INFO] Compiling 36 source files to /Users/barret/Copy/git/other/RHIPE/target/classes

[mvn:mvn] [INFO] -------------------------------------------------------------

[mvn:mvn] [ERROR] COMPILATION ERROR :

[mvn:mvn] [INFO] -------------------------------------------------------------

[mvn:mvn] [ERROR] error: error reading /Users/barret/.m2/repository/asm/asm/3.1/asm-3.1.jar; error in opening zip file

[mvn:mvn] [INFO] 1 error

[mvn:mvn] [INFO] -------------------------------------------------------------

[mvn:mvn] [INFO] ------------------------------------------------------------------------

[mvn:mvn] [ERROR] BUILD FAILURE

[mvn:mvn] [INFO] ------------------------------------------------------------------------

[mvn:mvn] [INFO] Compilation failure

[mvn:mvn] error: error reading /Users/barret/.m2/repository/asm/asm/3.1/asm-3.1.jar; error in opening zip file

[mvn:mvn]

[mvn:mvn]

[mvn:mvn] error: error reading /Users/barret/.m2/repository/asm/asm/3.1/asm-3.1.jar; error in opening zip file

[mvn:mvn]

[mvn:mvn] [INFO] ------------------------------------------------------------------------

[mvn:mvn] [INFO] For more information, run Maven with the -e switch

[mvn:mvn] [INFO] ------------------------------------------------------------------------

[mvn:mvn] [INFO] Total time: 8 seconds

[mvn:mvn] [INFO] Finished at: Sat Aug 02 23:52:12 EDT 2014

[mvn:mvn] [INFO] Final Memory: 26M/508M

[mvn:mvn] [INFO] ------------------------------------------------------------------------

BUILD FAILED

/Users/barret/Copy/git/other/RHIPE/build.xml:136: The following error occurred while executing this line:

/Users/barret/Copy/git/other/RHIPE/build.xml:126: The following error occurred while executing this line:

/Users/barret/Copy/git/other/RHIPE/build.xml:182: The following error occurred while executing this line:

/Users/barret/Copy/git/other/RHIPE/build.xml:274: Java returned: 1

Total time: 47 seconds


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-50981628.

@rperko3
Copy link
Contributor

rperko3 commented Aug 4, 2014

@amwhite is correct. Here is a temporary work around:

Download from here:
http://search.maven.org/remotecontent?filepath=asm/asm/3.1/asm-3.1.jar

Run the following maven command to install it into your repo:
mvn install:install-file -Dfile=asm-3.1.jar -DgroupId=asm -DartifactId=asm -Dversion=3.1 -Dpackaging=jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants