[B-frame-devel] Separation between bframe and examples
Status: Alpha
Brought to you by:
dahm
|
From: Markus D. <m....@gm...> - 2003-03-21 15:50:16
|
Hi,
the examples package has been moved into a new project and repository
you can checkout the examples
with
cvs -d :ext:<yournamehere>@cvs.sourceforge.net:/cvsroot/b-frame co
b-frame-examples
You should do this in the same directory where b-frame resides.
The downloadable b-frame distribution still contains the examples. They
may be found now in
"b-frame/b-frame-examples" instead of "b-frame/app". The latter
directory will soon be removed
from the repository. The build.xml file is adapted to use the new directory.
The app.name property is not defined in the system properties file
"b-frame/build.properties", but
in the application properties file "b-frame-examples/build.properties".
There you can also
override any property of the default "b-frame/build.properties" file.
When you update your b-frame directory with CVS, remember to copy the
b-frame-examples directory
into b-frame, since it resides in a different repository.
From the b-frame-examples README:
INSTALLATION/RUNNING
--------------------
In fact, all commands you issue are just forwarded to <b-frame/>. All
you have to do is to tell where <b-frame/> and Ant are installed. You
can do so by copying setpath_example.bat (if you are using Windows) to
setpath.bat and assign correct values to the variables BFRAME_HOME and
ANT_HOME. If you have chosen the complete distribution or if
everything is installed in the same directory you can leave the values
unchanged.
The procedure for compilation and deployment is the same as described
in the tutorial, except that you do not use ant directly, e.g.,
ant deploy
but say
.\build.bat deploy
(or ./build.sh, respectively) instead.
The application being compiled is the university example by default. You
can change this by editing the build.properties file.
FOR EXPERTS ONLY
----------------
You can bypass the scripts and use Ant directly if you specify the
necessary properties on the command line, i.e., if you have installed
the examples in, say, c:\temp\bframe-examples and <b-frame/> in
d:\tools\b-frame, you may execute
ant -buildfile d:\tools\b-frame\build.xml -Dapp.name=university
-Dapp.pwd=C:\tools\b-frame deploy
This example also demonstrates how to override the application name
without editing build.properties.
Cheers
Markus
|