Installation Instructions

67 views
Skip to first unread message

Michael J. Bennett

unread,
Nov 7, 2011, 3:10:39 PM11/7/11
to ace-devel
For anyone who may be interested, I've put together some documentation
on my experiences in installing and running ACE's AM. It's kind of a
more visual step-by-step for those who may not be comfortable with
doing things like setting up MySQL and/or Tomcat installs:
http://digitalcommons.uconn.edu/libr_pubs/39/

I'd like to see more folks try this thing out as I think that it's a
really great, well thought out tool.

Michael

Mike

unread,
Nov 7, 2011, 5:13:00 PM11/7/11
to ace-devel
Michael,
This documentation is wonderful. If you don't mind, I'm going to put
a link to it from our project page.

-Mike



On Nov 7, 3:10 pm, "Michael J. Bennett" <michael.benn...@uconn.edu>
wrote:

Michael J. Bennett

unread,
Nov 7, 2011, 5:27:38 PM11/7/11
to ace-devel
Mike,

Sure, that would be fine. I'm happy to contribute if not to the code,
then at least to some testing and documentation.

I may send a note with the link to a couple of the digital
preservation and digital library listservs that I'm on too to try to
get folks motivated to try ACE in their setting.

Michael

Peter Dietz

unread,
Nov 10, 2011, 2:10:04 PM11/10/11
to ace-...@googlegroups.com
I downloaded the source version: https://scm.umiacs.umd.edu/redmine/adapt/attachments/download/53/ace-am-1.6-src.tgz, and I didn't see installation instructions specifically for the source versionst. The provided INSTALL readme has instructions for how to take the already compiled .war and give it to tomcat. I didn't see anything about how to build the war with maven. So, here's a chronical of the journey I just took.

I'm familiar with maven, so, thus far I've done:
$ mvn install
## Maven starts building....

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.eclipse.persistence:eclipselink:jar:2.0.0

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.eclipse.persistence -DartifactId=eclipselink -Dversion=2.0.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.eclipse.persistence -DartifactId=eclipselink -Dversion=2.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  1) edu.umiacs.ace:ace-am:war:1.6
  2) org.eclipse.persistence:eclipselink:jar:2.0.0

2) edu.umiacs:irods-api:jar:1.1

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=edu.umiacs -DartifactId=irods-api -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=edu.umiacs -DartifactId=irods-api -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  1) edu.umiacs.ace:ace-am:war:1.6
  2) edu.umiacs:irods-api:jar:1.1

----------
2 required artifacts are missing.

for artifact: 
  edu.umiacs.ace:ace-am:war:1.6

from the specified remote repositories:

So..
Let me look for these in some publicly available maven repositories. It appears the eclipselink mirror at ftp.ing.umu.se was down, so, I've changed that in my checkout to point to the official repo.

diff --git a/pom.xml b/pom.xml
index 2fc0fad..a328fa5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,7 +38,8 @@
     <name>Local scratch repo</name>
   </repository>
   <repository>

Now, lets retry.

$mvn install
## ...

But, still having an issue with edu.umiacs:irods-api:jar:1.1

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) edu.umiacs:irods-api:jar:1.1

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=edu.umiacs -DartifactId=irods-api -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=edu.umiacs -DartifactId=irods-api -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  1) edu.umiacs.ace:ace-am:war:1.6
  2) edu.umiacs:irods-api:jar:1.1

----------
1 required artifact is missing.

for artifact: 
  edu.umiacs.ace:ace-am:war:1.6

from the specified remote repositories:


Lets inspect that now.
Hmm, its been renamed from irods to oldirods.


At this point I give up.



But l luckily I found your subversion repository at: https://subversion.umiacs.umd.edu/ace/trunk/
I much much prefer git over svn, so I "git svn cloned" it. Then...
$mvn install
[INFO] BUILD SUCCESSFUL


And... now I'm happy. I haven't yet tried this ace project, but rather, just looking in to it, and this was my initial roadblock.
Reply all
Reply to author
Forward
0 new messages