Skip to content
Snippets Groups Projects
Commit 8cbbbe62 authored by Goik Martin's avatar Goik Martin
Browse files

Building both examination and solution archives

parent 16553ae5
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,7 @@ ...@@ -4,9 +4,7 @@
# #
rm -rf /tmp/SaxMemo2Hhtml rm -rf /tmp/SaxMemo2Hhtml
tar -c SaxMemo2Hhtml --exclude='SaxMemo2Hhtml/pom.*' --exclude='SaxMemo2Hhtml/target' --exclude='SaxMemo2Hhtml/.settings' \ tar -c SaxMemo2Hhtml | tar -x -C /tmp
--exclude='SaxMemo2Hhtml/.project' --exclude='SaxMemo2Hhtml/.classpath' --exclude='.gitignore' | tar -x -C /tmp
cp -f SaxMemo2Hhtml/pom.exam.xml /tmp/SaxMemo2Hhtml/pom.xml cp -f SaxMemo2Hhtml/pom.exam.xml /tmp/SaxMemo2Hhtml/pom.xml
pushd SaxMemo2Hhtml_solution/src/test/java pushd SaxMemo2Hhtml_solution/src/test/java
...@@ -17,4 +15,20 @@ pushd ../../../ws/eclipse/ExamTesting/src/main/java ...@@ -17,4 +15,20 @@ pushd ../../../ws/eclipse/ExamTesting/src/main/java
tar c- de |tar -x -C /tmp/SaxMemo2Hhtml/src/test/java tar c- de |tar -x -C /tmp/SaxMemo2Hhtml/src/test/java
popd popd
pushd /tmp/SaxMemo2Hhtml
mvn clean eclipse:clean
rm -rf .settings pom.exam.xml .gitignore src/main/resources/.gitignore
cd ..; rm -f saxmemo2html.zip; zip -r saxmemo2html.zip SaxMemo2Hhtml
popd
tar c- SaxMemo2Hhtml_solution| tar -x -C /tmp
pushd /tmp/SaxMemo2Hhtml_solution
mvn clean eclipse:clean
rm -rf .settings .gitignore build.sh* src/main/resources/memo.xml.* src/main/resources/.gitignore
cd ..; rm -f saxmemo2html_solution.zip; zip -r saxmemo2html_solution.zip SaxMemo2Hhtml_solution
popd
echo Compressed Maven archives saxmemo2html.zip and saxmemo2html_solution.zip generated at /tmp/saxmemo2html.zip
#end #end
\ No newline at end of file
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<description>Test execution requires 'mvn install' in the maven sub project
'GoikLectures/ws/eclipse/ExamTesting' within
https://version.mi.hdm-stuttgart.de/git/GoikLectures
to resolve the 'examtesting' dependency.</description>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>de.hdm_stuttgart.mi.sda1.saxhtml</groupId> <groupId>de.hdm_stuttgart.mi.sda1.saxhtml</groupId>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment