Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
44b06f25
Commit
44b06f25
authored
May 07, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Java frames inserted in web jarfile also
parent
4d6ae854
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
src/exp/com/src/os_linux/ge_javac.sh
src/exp/com/src/os_linux/ge_javac.sh
+12
-2
No files found.
src/exp/com/src/os_linux/ge_javac.sh
View file @
44b06f25
...
...
@@ -43,6 +43,7 @@ fi
if
[
$function
==
"java"
]
;
then
jarfile
=
"
$pwrp_lib
/pwrp_"
$systemname
".jar"
jarfileweb
=
"
$pwrp_web
/pwrp_"
$systemname
"_web.jar"
if
javac
-d
$pwrp_web
-classpath
$pwr_lib
/pwr_rt.jar:
$pwr_lib
/pwr_jop.jar
$pwrp_pop
/
$src_file
then
...
...
@@ -50,27 +51,36 @@ if [ $function == "java" ]; then
if
[
!
-e
$jarfile
]
;
then
cd
$pwrp_web
jar
-cf
$jarfile
${
src_file
%.java
}
.class
rm
${
src_file
%.java
}
.class
else
cd
$pwrp_web
jar
-uf
$jarfile
${
src_file
%.java
}
.class
rm
${
src_file
%.java
}
.class
fi
if
[
!
-e
$jarfileweb
]
;
then
cd
$pwrp_web
jar
-cf
$jarfileweb
${
src_file
%.java
}
.class
else
cd
$pwrp_web
jar
-uf
$jarfileweb
${
src_file
%.java
}
.class
fi
rm
${
src_file
%.java
}
.class
files
=
`
ls
$pwrp_web
/
${
src_file
%.java
}
\\
$*
.class 2>&-
`
if
[
!
-z
"
$files
"
]
;
then
# echo "Insert in archive $jarfile"
jar
-uf
$jarfile
${
src_file
%.java
}
\$
*
.class
jar
-uf
$jarfileweb
${
src_file
%.java
}
\$
*
.class
rm
${
src_file
%.java
}
\$
*
.class
fi
files
=
`
ls
$pwrp_pop
/
*
.gif 2>&-
`
if
[
!
-z
"
$files
"
]
;
then
cd
$pwrp_pop
jar
-uf
$jarfile
*
.gif
jar
-uf
$jarfileweb
*
.gif
fi
files
=
`
ls
$pwrp_pop
/
*
.jpg 2>&-
`
if
[
!
-z
"
$files
"
]
;
then
cd
$pwrp_pop
jar
-uf
$jarfile
*
.jpg
jar
-uf
$jarfileweb
*
.jpg
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment