dist-bin.sh File Reference
Detailed Description
Distribute Boot JVM binary package, including documentation.
Make sure to have performed the final build by running clean.sh all followed by build.sh all. This will guarantee that everything compiles clean and may be installed and run on all platforms of this CPU type.
Use dist-src.sh to distribute the source package.
Use dist-doc.sh to distribute the documentation package.
- See also:
- ./common.sh
- Attention:
- Make sure that all Eclipse project files are in the "open" state when creating a distribution. This will ensure immediate access to them by Eclipse users without having to change anything.
- Todo:
- This script should probably support each and every CPU platform that implements this code instad of having just a single output location for each file. However, that also involves changes to build.sh and clean.sh and common.sh, as well as config.sh. This is left as an exercise for the project team. For an example of such a multi-host script, consider that the original development was done on a Solaris platform. Such distribution should be built using ./clean.sh all followed by ./build.sh all and should contain all formats of documentation. If no CPU-specific directory level were implemented, result should look like the current distribution:
-
jvm/bin/bootjvm
-
libjvm/lib/libjvm.a
-
main/bin/bootjvm
-
test/bin/HelloWorld.class
-
test/bin/harmony/bootjvm/test/MainArgs.class
-
test/bin/harmony/bootjvm/test/PkgHelloWorld.class
-
doc/html/...
-
doc/latex/...
-
doc/rtf/...
-
doc/man/man3/...
-
doc/xml/...
A CPU-specific directory would use the CONFIG_$OSNAME$WORDWIDTH configuration variable to change the target name to,
-
jvm/bin/${CONFIG_$OSNAME$WORDWIDTH}/bootjvm
Namely,
-
jvm/bin/solaris32/bootjvm
-
jvm/bin/solaris64/bootjvm
-
jvm/bin/linux32/bootjvm
-
jvm/bin/linux64/bootjvm
-
jvm/bin/windows32/bootjvm
-
jvm/bin/windows64/bootjvm
-
jvm/bin/linux64/bootjvm
and so forth for the other deliverables.
- Todo:
- A Windows .BAT version of this script needs to be written
$URL: https://svn.apache.org/path/name/dist-bin.sh $ $Id: dist-bin.sh 0 09/28/2005 dlydick $
Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
Licensed under the Apache License, Version 2.0 ("the License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
- Version:
- $LastChangedRevision: 0 $
- Date:
- $LastChangedDate: 09/28/2005 $
- Author:
- $LastChangedBy: dlydick $ Original code contributed by Daniel Lydick on 09/28/2005.
Definition in file dist-bin.sh.
Go to the source code of this file.
Generated on Fri Sep 30 18:59:38 2005 by
1.4.4