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
845834c2
Commit
845834c2
authored
10 years ago
by
sveseli
Browse files
Options
Downloads
Patches
Plain Diff
properly setup java path for ant script
parent
126a8bb4
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bin/dm-ant
+2
-2
2 additions, 2 deletions
bin/dm-ant
setup.sh
+6
-5
6 additions, 5 deletions
setup.sh
src/Makefile
+2
-2
2 additions, 2 deletions
src/Makefile
with
10 additions
and
9 deletions
bin/dm-ant
+
2
−
2
View file @
845834c2
...
...
@@ -13,8 +13,8 @@ if [ -z $DM_ROOT_DIR ]; then
fi
DM_HOST_ARCH
=
`
uname
|
tr
[
A-Z]
[
a-z]
`
-
`
uname
-m
`
export
JAVA_HOME
=
$DM_SUPPORT
/java/
$DM_HOST_ARCH
export
ANT_HOME
=
$DM_SUPPORT
/ant
export
JAVA_HOME
=
$DM_SUPPORT
_DIR
/java/
$DM_HOST_ARCH
export
ANT_HOME
=
$DM_SUPPORT
_DIR
/ant
export
PATH
=
$ANT_HOME
/bin:
$PATH
ant
$@
...
...
This diff is collapsed.
Click to expand it.
setup.sh
+
6
−
5
View file @
845834c2
...
...
@@ -53,8 +53,10 @@ prependPathIfDirExists() {
}
# Setup path and other variables
PATH
=
$DM_SUPPORT_DIR
/postgresql/
$DM_HOST_ARCH
/bin:
$PATH
PATH
=
$DM_ROOT_DIR
/bin:
$PATH
prependPathIfDirExists
$DM_SUPPORT_DIR
/postgresql/
$DM_HOST_ARCH
/bin
prependPathIfDirExists
$DM_SUPPORT_DIR
/java/
$DM_HOST_ARCH
/bin
prependPathIfDirExists
$DM_SUPPORT_DIR
/ant/bin
prependPathIfDirExists
$DM_ROOT_DIR
/bin
PATH
=
.:
$PATH
export
PATH
...
...
@@ -65,9 +67,8 @@ else
fi
export
LD_LIBRARY_PATH
# Setup python path. First check for wx, then try to find it locally, and
# then re-check for it.
# Check if we have local python
# Setup python path.
# Check if we have local python
if
[
-z
$DM_PYTHON_DIR
]
;
then
pythonDir
=
$DM_SUPPORT_DIR
/python/
$DM_HOST_ARCH
else
...
...
This diff is collapsed.
Click to expand it.
src/Makefile
+
2
−
2
View file @
845834c2
TOP
=
..
/..
SUBDIRS
=
DmWebPortal
TOP
=
..
SUBDIRS
=
java
include
$(TOP)/tools/make/RULES_DM
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