Skip to content

Commit dd1b0b2

Browse files
author
krogers
committed
Patch from Don:
This patch changes the openmap.bat and openmap scripts to use the Main class instead of OpenMap class. openmap.iml is removed from the repository (it's a netbeans file). The README has been updated to include information about code dependencies. The MapBean version number is 5.0 (without the beta designation). git-svn-id: svn+ssh://src.dsl.bbn.com/svn/openmap/trunk@2258 f68c23cc-7f87-4fbc-acfa-d9760b90acc1
1 parent b806333 commit dd1b0b2

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

README

+15
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,21 @@ changes will not be reflected in the application unless:
149149
The second option is usually the easiest, but your needs may require
150150
one of the other options.
151151

152+
External Dependencies
153+
---------------------
154+
155+
The source code has been broken out into separate directories for code
156+
that depends on other packages.
157+
158+
- src/openmap and src/ext: This code should compile without any special packages.
159+
- src/corba: The missing classes can be generated by building with ant. The idl files
160+
are used to create the generated class files.
161+
- src/j3d: This code will compile if the Java 3D package is installed.
162+
- src/svg: This code will compile if Batik (v 1.7) is installed.
163+
164+
If you check OpenMap out from svn (instructions on the download page on the website), these
165+
external packages are included.
166+
152167
Bug Tracking Software
153168
---------------------
154169
BBN maintains a Bugzilla site for tracking bugs and suggestions for

bin/openmap

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ done
119119

120120
if [ "$VISIBROKER_HOME" = "" ] ; then
121121
# echo $JAVACMD -Xmx256m -classpath "$LOCALCLASSPATH" -Dopenmap.configDir=$OPENMAP_HOME/share $JAVA_ARGS com.bbn.openmap.app.OpenMap $OPENMAP_ARGS
122-
$JAVACMD -Xmx512m -classpath "$LOCALCLASSPATH" -Dopenmap.configDir=$OPENMAP_HOME/share -Ddebug.showprogress $JAVA_ARGS com.bbn.openmap.app.OpenMap $OPENMAP_ARGS
122+
$JAVACMD -Xmx512m -classpath "$LOCALCLASSPATH" -Dopenmap.configDir=$OPENMAP_HOME/share -Ddebug.showprogress $JAVA_ARGS com.bbn.openmap.app.Main $OPENMAP_ARGS
123123
else
124124
# echo $JAVACMD -Xmx256m -Xbootclasspath:"$LOCALCLASSPATH" -Dopenmap.configDir=$OPENMAP_HOME/share $JAVA_ARGS com.bbn.openmap.app.OpenMap $OPENMAP_ARGS
125-
$JAVACMD -Xmx512m -Xbootclasspath:"$LOCALCLASSPATH" -Dopenmap.configDir=$OPENMAP_HOME/share -Ddebug.showprogress $JAVA_ARGS com.bbn.openmap.app.OpenMap $OPENMAP_ARGS
125+
$JAVACMD -Xmx512m -Xbootclasspath:"$LOCALCLASSPATH" -Dopenmap.configDir=$OPENMAP_HOME/share -Ddebug.showprogress $JAVA_ARGS com.bbn.openmap.app.Main $OPENMAP_ARGS
126126
fi
127127

128128

bin/openmap.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ rem subdirectory. Add other jar files as available.
1717
set CLASSPATH=%OPENMAP_HOME%;%OPENMAP_HOME%\classes\openmap;%OPENMAP_HOME%\share;%OPENMAP_HOME%\lib\milStd2525_png.jar;%OPENMAP_HOME%\lib\openmap.jar;%OPENMAP_HOME%\lib\omsvg.jar;%OPENMAP_HOME%\lib\omj3d.jar;%OPENMAP_HOME%\lib\omcorba_vb.jar;
1818

1919
rem OK, now run OpenMap
20-
%JAVABIN% -Xmx64m -Dopenmap.configDir=%OPENMAP_HOME%\share -Ddebug.showprogress com.bbn.openmap.app.OpenMap
20+
%JAVABIN% -Xmx64m -Dopenmap.configDir=%OPENMAP_HOME%\share -Ddebug.showprogress com.bbn.openmap.app.Main

src/openmap/com/bbn/openmap/MapBean.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,10 @@ public class MapBean
148148
/**
149149
* OpenMap version.
150150
*/
151-
public static final String version = "5.0b";
151+
public static final String version = "5.0";
152152

153153
/**
154-
* Suppress the copyright message on initialization. But remember, the
155-
* OpenMap License says you can't do this!
154+
* Suppress the copyright message on initialization.
156155
*/
157156
public static boolean suppressCopyright = false;
158157

0 commit comments

Comments
 (0)