CLASSPATH=ext/activation.jar:ext/bsf_core.jar:ext/bsf_debug.jar:ext/derby.jar:ext/dpc.jar:ext/jaxb-api.jar:ext/jaxb-impl.jar:ext/js.jar:ext/jsr173_api.jar:ext/mysql-connector-java-3.1.12-bin.jar:ext/orbital-ext.jar:ext/serializer.jar:ext/TableLayout.jar:ext/xalan.jar:ext/xercesImpl.jar:ext/xws-security.jar surveys: rm -Rf surveysConfig/generated mkdir surveysConfig/generated cat surveysConfig/generalSurveyConfig.xml >temp.xml java org.apache.xalan.xslt.Process -in temp.xml -xsl surveysConfig/surveyConfigFilter.xsl -PARAM surveyType baseline >surveysConfig/generated/generalSurveyConfig_baseline.xml java org.apache.xalan.xslt.Process -in temp.xml -xsl surveysConfig/surveyConfigFilter.xsl -PARAM surveyType improved >surveysConfig/generated/generalSurveyConfig_improved.xml cat surveysConfig/specificSurveyConfig.xml >temp.xml java org.apache.xalan.xslt.Process -in temp.xml -xsl surveysConfig/surveyConfigFilter.xsl -PARAM weights yes -PARAM tradeoff no >surveysConfig/generated/specificSurveyConfig_yw_nta.xml java org.apache.xalan.xslt.Process -in temp.xml -xsl surveysConfig/surveyConfigFilter.xsl -PARAM weights no -PARAM tradeoff yes >surveysConfig/generated/specificSurveyConfig_nw_yta.xml java org.apache.xalan.xslt.Process -in temp.xml -xsl surveysConfig/surveyConfigFilter.xsl -PARAM weights yes -PARAM tradeoff yes >surveysConfig/generated/specificSurveyConfig_yw_yta.xml tmp: cat surveysConfig/generalSurveyConfig.xml >temp.xml cat surveysConfig/specificSurveyConfig.xml >temp.xml cat surveysConfig/generalSurveyConfig.xml | sed -e 's/mandatory="true"//' >temp.xml cat surveysConfig/specificSurveyConfig.xml | sed -e 's/mandatory="true"//' >temp.xml cars: java -cp build:${CLASSPATH} ecatalog.ECatalog configs/config-cars.xml apartments: java -cp build:${CLASSPATH} ecatalog.ECatalog configs/config-apartments.xml test: java -cp "build:${CLASSPATH}" UserStudy david1 2 cmp: javac -sourcepath src -d build src/UserStudy.java src/ecatalog/db/SimpleShapePenaltyFunction.java src/external/CarItemTableRenderer.java src/external/MovieItemTableRenderer.java src/survey/Testbench.java src/survey/DisplaySurvey.java #src/external/ApartmentTableRenderer.java xml: xjc.sh -d src/ -p ecatalog.jaxb.ecatalogConfig src/ecatalog/xml/ECatalogConfig.xsd xjc.sh -d src/ -p ecatalog.jaxb.multipleValuesConstraintConfig src/ecatalog/xml/MultipleValuesConstraintConfig.xsd xjc.sh -d src/ -p ecatalog.jaxb.simpleAttributeConstraintConfig src/ecatalog/xml/SimpleAttributeConstraintConfig.xsd xjc.sh -d src/ -p ecatalog.jaxb.simpleShapePenaltyFunctionConfig src/ecatalog/xml/SimpleShapePenaltyFunctionConfig.xsd javac -classpath ${CLASSPATH} -sourcepath src -d build src/ecatalog/jaxb/ecatalogConfig/ObjectFactory.java javac -classpath ${CLASSPATH} -sourcepath src -d build src/ecatalog/jaxb/multipleValuesConstraintConfig/ObjectFactory.java javac -classpath ${CLASSPATH} -sourcepath src -d build src/ecatalog/jaxb/simpleAttributeConstraintConfig/ObjectFactory.java javac -classpath ${CLASSPATH} -sourcepath src -d build src/ecatalog/jaxb/simpleShapePenaltyFunctionConfig/ObjectFactory.java clean: rm -Rf src/ecatalog/jaxb/* rm -Rf build/* clean-baks: find . -name "*.bak" | xargs -i rm "\{}" find . -name "*~" | xargs -i rm "\{}"