[jbosstools-dev] Teiid Designer and TP
Max Rydahl Andersen
max.andersen at redhat.com
Mon Oct 8 08:42:37 EDT 2012
>>
>>> For example, the jta.jar
>>> has not been updated between teiid versions 7 - 8 so that would be a 'stable' dependency. It just
>>> happens to be bundled with the teiid download from sf.net. Likewise, I would assume this to be the
>>> case for staxmapper.jar and jline.jar (although would need to check). The jboss-as could be
>>> unbundled entirely if a plugin or feature bundled it separately.
>>
>> what I don't grok is why our eclipse plugins needs jline.jar, jboss-as-cli.jar etc. These also overlap with what is Forge tools for example - but here there are a reason - i.e. it exposes the CLI approach.
>>
>
> I think clarification of the history of the dependencies is required.
>
> So, the teiid-embedded zip archive from sf.net/projects/teiid includes these jars since client devs
> / users will be using teiid in a non-eclipse environment, ie. building their own standalone java
> app. Thus, teiid have added in these jars to ensure the java classpath is satisfied.
okey - thats fine - if the plugin is considered an "repackaging" of teiid-embedded.zip then it makes sense.
But if you want to create something else where it is osgi compatible then that is not the case.
> Looking at the source teiid-admin.jar requires jboss-as-cli.
but teiid-admin.jar is for running some client app on the shell - not needed by the tools or ?
> If jline.jar is in the TP somewhere then it can be changed to a plugin dependency as well.
I think you are missing my point ;) We deliberately avoid exposing runtime stuff as osgi jars because
A) the jars often don't work well in osgi land or even an eclipse plugin world (i.e. anything that loads native code, i.e. jline.jar or custom classes i.e. logging/spring/cdi/hibernate etc.)
B) having tools plugins depend on runtime jars hardens their dependency on runtime versions making it very userunfriendly (i.e. users dont normally need to install a new and old IDE to work with Java 6 and 7 at the same time).
It might be the case for teiid that this cannot be avoided but then Teiid needs to be packaged/distributed in a way that allows easy installation and uninstallation to switch between these versions IMO.
/max
>
> HTH
>
> PGR
>
> --
> Paul Richardson
>
> * p.g.richardson at phantomjinx.co.uk
> * p.g.richardson at redhat.com
> * pgrichardson at linux.com
>
> "I know exactly who reads the papers ...
>
> * The Daily Mirror is read by people who think they run the country.
> * The Guardian is read by people who think they ought to run the country.
> * The Times is read by people who do actually run the country.
> * The Daily Mail is read by the wives of the people who run the country.
> * The Financial Times is read by the people who own the country.
> * The Morning Star is read by the people who think the country ought to be run by another country.
> * The Daily Telegraph is read by the people who think it is."
>
> Jim Hacker, Yes Minister
>
More information about the jbosstools-dev
mailing list