PhenotypeFoundation / PhenotypeDatabase

Phenotype Database
Apache License 2.0
10 stars 8 forks source link

Unresolved dependencies setting up development environment #112

Closed mhmoed closed 9 years ago

mhmoed commented 9 years ago

In trying to set up a development environment according to the instructions listed on the github.io page, grails run-app exits because of unresolved dependencies. I'm running Ubuntu 14.04.2 LTS with Oracle Java 1.7.0_76 and Grails 2.2.4 (using Grails 1.3.9, as listed in the instructions, will result in the build process complaining it explicitly needs version 2.2.4).

The build log looks as follows:

mhmoed@mlpd-db01 /tmp[17:45:40] 
> $ echo $GRAILS_HOME                                                                                                                         
/home/mhmoed/.gvm/grails/current

mhmoed@mlpd-db01 /tmp[17:45:49] 
> $ echo $JAVA_HOME                                                                                                                           
/usr/lib/jvm/java-7-oracle

mhmoed@mlpd-db01 /tmp[17:45:54] 
> $ export PATH=$PATH:$JAVA_HOME/bin:$GRAILS_HOME/bin                                                                                         

mhmoed@mlpd-db01 /tmp[17:46:07] 
> $ export JAVA_OPTS="-Xms256m -Xmx512m -XX:MaxPermSize=200m -XX:MaxHeapFreeRatio=70 -XX:MaxGCPauseMillis=10 -XX:+UseConcMarkSweepGC"        

mhmoed@mlpd-db01 /tmp[17:46:48] 
> $ git clone https://github.com/PhenotypeFoundation/GSCF.git                                                                                 
Cloning into 'GSCF'...
remote: Counting objects: 27570, done.
remote: Total 27570 (delta 0), reused 0 (delta 0), pack-reused 27570
Receiving objects: 100% (27570/27570), 35.81 MiB | 14.08 MiB/s, done.
Resolving deltas: 100% (18592/18592), done.
Checking connectivity... done.

mhmoed@mlpd-db01 /tmp[17:47:06] 
> $ cd GSCF                                                                                                                                   

mhmoed@mlpd-db01 /tmp/GSCF[17:47:10] 
> $ grails run-app                                                                                                                   [±master]
| Configuring classpath
[REMOVED]
        ::::::::::::::::::::::::::::::::::::::::::::::
        ::          UNRESOLVED DEPENDENCIES         ::
        ::::::::::::::::::::::::::::::::::::::::::::::
        :: org.grails.plugins#ajaxflow;latest.integration: not found
        :: org.grails.plugins#rest;0.8: not found
        :: org.grails.plugins#jquery-ui;1.8.15: not found
        :: org.grails.plugins#jquery-datatables;1.7.5: not found
        :: org.grails.plugins#famfamfam;1.0.1: not found
        :: org.grails.plugins#jquery-ui;latest.integration: not found
        :: org.grails.plugins#spring-security-core;1.2.7.3: not found
        :: org.grails.plugins#mail;1.0.1: not found
        :: org.grails.plugins#quartz;1.0-RC5: not found
        :: org.grails.plugins#webflow;2.0.8.1: not found
        :: org.grails.plugins#console;1.2: not found
        :: org.grails.plugins#grom;latest.integration: not found
        ::::::::::::::::::::::::::::::::::::::::::::::

| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.grails.plugins:ajaxflow:latest.integration
- org.grails.plugins:rest:0.8
- org.grails.plugins:jquery-ui:1.8.15
- org.grails.plugins:jquery-datatables:1.7.5
- org.grails.plugins:famfamfam:1.0.1
- org.grails.plugins:jquery-ui:latest.integration
- org.grails.plugins:spring-security-core:1.2.7.3
- org.grails.plugins:mail:1.0.1
- org.grails.plugins:quartz:1.0-RC5
- org.grails.plugins:webflow:2.0.8.1
- org.grails.plugins:console:1.2
- org.grails.plugins:grom:latest.integration

The complete build log is available as a gist.

michaelvanvliet commented 9 years ago

Suggested was to use the integrated branch, which should solve the dependencies issue. In the near future the integrated branch will become the main branch, and the README will be updated then. When switching to the integrated branch be sure to add the 'bioontology.apikey=' in the correct properties file.

michaelvanvliet commented 9 years ago

Still an issue, also with the integrated branch. Tested on both a Mac and a Linux machine (Ubuntu 14.04).

michaelvanvliet commented 9 years ago

Commit af668f7e28b602f6b800a2dd5647a50ee57674a9 fixes this dependencies issue on my MacBook.