root/main/trunk/model-sites-dev/mars/collect/amc-essentia/prepare/COMPILE.sh @ 34365

Revision 34365, 0.7 KB (checked in by davidb, 7 weeks ago)

New location for the code to page-scrape/download AMC content. Previously in its own 'other projects' mars-music-recommender project on SVN

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3
4cygpath -h >/dev/null 2>&1
5if [ $? = "0" ] ; then
6    is_cygwin=1
7else
8    is_cygwin=0
9fi
10
11if [ ! -d bin ] ; then
12  echo "Creating directory 'bin' for compiled Java code"
13  mkdir bin
14fi
15
16if [ $is_cygwin = "1" ] ; then
17   
18    echo javac -cp jars\\jsoup-1.8.3.jar\;jars\\json-simple-1.1.1.jar\;src -d bin src\\AMCArtistScrape.java
19    javac -cp jars\\jsoup-1.8.3.jar\;jars\\json-simple-1.1.1.jar\;src -d bin src\\AMCArtistScrape.java
20else
21   
22    echo javac -cp jars/jsoup-1.8.3.jar:jars/json-simple-1.1.1.jar:src -d bin src/AMCArtistScrape.java
23    javac -cp jars/jsoup-1.8.3.jar:jars/json-simple-1.1.1.jar:src -d bin src/AMCArtistScrape.java
24
25fi
26
27
Note: See TracBrowser for help on using the browser.