"Developers are like artists; they produce their best work if they
have the freedom to do so, but they need good tools." -- Werner Vogels
rcernich@xxxxxxxxxx Sent by: stp-dev-bounces@xxxxxxxxxxx
06/20/2006 11:47 PM
Please respond to
STP Dev list <stp-dev@xxxxxxxxxxx>
[stp-dev] Deployment Framework Contribution
I've checked the deployment framework code into the STP SOAS project. I
still need to add features and integrate the projects with the build
The contribution includes two instructional example plugins. The
provide the following implementations:
A package extension used to identify Eclipse jardesc files to the
A deploy driver extension used to identify the DTP sample connection
profile as a deploy target for jardesc packages.
A package constructor extension used to create a jar file from a jardesc
To exercise the examples:
1. Create a Java project.
2. Add some classes to the project.
3. Create a jardesc file within the project (Export...->Java->JAR
4. Create a sample connection profile instance (from within the DSE,
New...->File Connection Profile (Example), run through the wizard, specify
a directory; when connected, you will see the contents of the directory
within the DSE).
5. Right-click on the jardesc file created in step 3 and select Deploy...
6. Select the connection profile created in step 4 and press OK.
The JAR file will be built using the information within the jardesc file
and "deployed" to the "server." You should see
the jar file in the DSE
when you connect to the "server" (it will be refreshed automatically
are connected when you deploy).
The framework also includes a deployment profile editor which can be used
to target packages to multiple servers, then execute the deployment as
single operation (the framework defines transactional semantics for this
operation, but commit and rollback must be supported by the individual
deploy driver extensions).
To compile, you will need the following plugins from DTP:
To compile the examples, you will also need the following from DTP:
org.eclipse.datatools.connectivity.sample.cp (this plugin is an
illustrative example of a connection profile, which is not specific to
All the DTP plugins except the sample can be downloaded from the DTP or
Callisto sites. The connection profile sample plugin can be found
DTP CVS repository.
Please let me know if you have any questions, comments, suggestions, etc.
stp-dev mailing list