diff --git a/appveyor.yml b/appveyor.yml index c8a705e659..7a83f20590 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -44,4 +44,4 @@ build_script: test_script: - cd %APPVEYOR_BUILD_FOLDER% - - cmd: ant -q test \ No newline at end of file + - cmd: ant -q test-no-regression \ No newline at end of file diff --git a/build.xml b/build.xml index 7377d59c04..c4cb67b944 100644 --- a/build.xml +++ b/build.xml @@ -24,7 +24,7 @@ + unless="supported-java-versions"/> @@ -68,22 +68,54 @@ - + - + - + + + + + + + + + + + + + + + + + + ZIP target and then opens it up and adds in any files that we want. This is where we customize the + version number. --> @@ -128,15 +160,15 @@ - - - - - - - - - + + + + + + + + + @@ -146,9 +178,9 @@ + shadow the files in the autopsy/modules/lib/ARCHITECTURE folder in the JAR. + These files are legacy from when we used to copy the dlls to this location. + This check should do away in the future. Added Sept '13--> @@ -188,9 +220,9 @@ + message="Enter the desired build type:" + validargs="DEVELOPMENT,RELEASE" + defaultvalue="DEVELOPMENT"/> @@ -228,21 +260,21 @@ ${app.name} branding + file="${branding.dir}/core/core.jar/org/netbeans/core/startup/Bundle.properties" + comment="Updated by build script"> + file="${branding.dir}/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties" + comment="Updated by build script"> + file="${basedir}/Core/src/org/sleuthkit/autopsy/coreutils/Version.properties" + comment="Updated by build script"> @@ -329,7 +361,7 @@ - + diff --git a/travis_build.sh b/travis_build.sh index 974558161e..aec6d5a5ea 100755 --- a/travis_build.sh +++ b/travis_build.sh @@ -9,24 +9,10 @@ pushd bindings/java && ant -q dist && popd echo "Building Autopsy..." && echo -en 'travis_fold:start:script.build\\r' cd $TRAVIS_BUILD_DIR/ ant build -build_rc=$? echo -en 'travis_fold:end:script.build\\r' -# don't continue to test if build failed. -if [[ $build_rc != 0 ]]; then - echo "Build failed. Not continuing to tests." - exit $build_rc -fi - echo "Testing Autopsy..." && echo -en 'travis_fold:start:script.tests\\r' echo "Free Space:" echo `df -h .` -xvfb-run ant -q test -test_rc=$? -echo -en 'travis_fold:end:script.tests\\r' -exit $test_rc - -if [[ $test_rc != 0 ]]; then - echo "There was a test failure." - exit $test_rc -fi \ No newline at end of file +xvfb-run ant -q test-no-regression +echo -en 'travis_fold:end:script.tests\\r' \ No newline at end of file