This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 226381 - Add org.eclipse.cosmos.dr.web.ui.viewer to build
Summary: Add org.eclipse.cosmos.dr.web.ui.viewer to build
Status: RESOLVED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Cosmos (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Saurabh Dravid CLA
QA Contact: Hubert Leung CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 220639
  Show dependency tree
 
Reported: 2008-04-09 18:00 EDT by David Whiteman CLA
Modified: 2012-01-03 13:54 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Whiteman CLA 2008-04-09 18:00:26 EDT
We have a new plugin to add to the build (data-reporting/org.eclipse.cosmos.dr.web.ui.viewer).  This plugin will require special handling.

The plugin should be added to the org.eclipse.cosmos.me.dm.toolkit feature (for lack of a better location).

The plugin should be built as a folder, not as a jar.

This plugin should be packaged with the SDK zip available on our download page (i.e. the one that has historically been 2nd on the page after the "Demo" zip)

The build script will need to copy a number of jars into the COSMOSUI/WEB-INF/lib/ directory of the plugin after the other plugins have been built.  The list of jars that need to be copied can be found in org.eclipse.cosmos.dr.web.ui.viewer\build.properties.  The reason for this special step is that the jar names will change with every build because of the embedded timestamps in the name.

Please let me know ASAP if you have any questions, or if you have a test build I can use to verify that this was built correctly.  This wil need to be done for i10, as this is our last chance to get in new features before the 1.0 release.  Thanks!
Comment 1 David Whiteman CLA 2008-04-10 10:13:12 EDT
Another thing the build will need to do is modify the Bundle-ClassPath in org.eclipse.cosmos.dr.web.ui.viewer/META-INF/MANIFEST.MF to include the new jar file names from the build.  This is how the plugin finds these required bundles on the path at runtime.  Since every jar in the list there has a variable name, you can completely replace it with the jar names that you are copying to COSMOSUI/WEB-INF/lib.  This is obviously something else that would have to be done at the end of a build, and I think Ant will provide the support you need to do this.  Let me know if this does not make sense.
Comment 2 Saurabh Dravid CLA 2008-04-11 15:08:02 EDT
This bug can not be resolved unless the following projects and their dependencies are not converted into plugin project.

org.eclipse.cosmos.dr.web.ui.viewer
org.eclipse.cosmos.dr.ps.common
org.eclipse.cosmos.dr.drs.service.handler
Comment 3 David Whiteman CLA 2008-04-14 20:02:59 EDT
bug 220639 is likely not making it into i10, so this one won't need to be done by then either.
Comment 4 David Whiteman CLA 2008-07-25 12:24:40 EDT
already done as part of another bug