Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dm-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hammonds
dm-docs
Commits
a1710cfc
Commit
a1710cfc
authored
9 years ago
by
Barbara B. Frosik
Browse files
Options
Downloads
Patches
Plain Diff
updated expSync tools to include java 7
parent
596d9dac
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/ExperimentSynchronizer/install_expSync.sh
+10
-4
10 additions, 4 deletions
tools/ExperimentSynchronizer/install_expSync.sh
tools/ExperimentSynchronizer/run_expSync.sh
+1
-1
1 addition, 1 deletion
tools/ExperimentSynchronizer/run_expSync.sh
with
11 additions
and
5 deletions
tools/ExperimentSynchronizer/install_expSync.sh
+
10
−
4
View file @
a1710cfc
#!/bin/sh
DM_SVN_URL
_EXP_SYNC
=
https://subversion.xray.aps.anl.gov/DataManagement
/trunk/tools/ExperimentSynchronizer
DM_SVN_URL
=
https://subversion.xray.aps.anl.gov/DataManagement
execute
()
{
echo
"Executing:
$@
"
eval
"
$@
"
}
execute svn
export
$DM_SVN_URL_EXP_SYNC
ExperimentSynchronizer
# load tools
execute svn
export
$DM_SVN_URL_EXP_SYNC
/trunk/tools/ExperimentSynchronizer ExperimentSynchronizer
EXPSYNC_DIR
=
ExperimentSynchronizer
cd
$EXPSYNC_DIR
/lib
cd
$EXPSYNC_DIR
# load java 7
execute svn
export
$DM_SVN_URL
/support/src/jdk-7u51-linux-x64.tar.gz
JAVA_VERSION
=
7u51
tar
zxf jdk-
${
JAVA_VERSION
}*
.tar.gz
cd
$EXPSYNC_DIR
mkdir
bin
execute javac
-classpath
lib/
*
:resources/
*
-d
bin/ src/gov/anl/dm/esafsync/
*
.java src/gov/anl/dm/esafsync/serviceconn/
*
.java
execute
lib/
javac
-classpath
lib/
*
:resources/
*
-d
bin/ src/gov/anl/dm/esafsync/
*
.java src/gov/anl/dm/esafsync/serviceconn/
*
.java
mkdir
target
execute jar cfm target/ExperimentSynchronizer.jar manifest.txt
-C
bin/
.
This diff is collapsed.
Click to expand it.
tools/ExperimentSynchronizer/run_expSync.sh
+
1
−
1
View file @
a1710cfc
...
...
@@ -4,5 +4,5 @@ execute() {
}
cd
ExperimentSynchronizer
execute java
-jar
target/ExperimentSynchronizer.jar resources/config.properties
execute
lib/
java
-jar
target/ExperimentSynchronizer.jar resources/config.properties
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment