root/other-projects/mars-music-recommender/trunk/amc-music-scrape/COMPILE.sh @ 30422

Revision 30422, 0.7 KB (checked in by davidb, 4 years ago)

Tidier treatment of 'bin' and 'audio' directories from an SVN point of view

  • 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.