That is exactly what the "tuscany.installDir" system property is -
just as a Java property not a environment variable as they are not
portable.
Dependencies are more complex than stuffing everything in one
directory (due to the hierarchical nature of the recursive model) but
we have the ArtifactRepository to handle that e.g. using the Maven
repo structure.
Extensions already work as you suggest - you place the composite jar
in the "extension" directory. Their dependencies are found by the
ArtifactRepository.
--
Jeremy
On Aug 15, 2006, at 7:58 AM, Venkata Krishnan wrote:
Hi,
I was wonder if something like TUSCANY_HOME and then all other
directories
relative to this would make sense. So there will be a 'lib' subdir
which
will have all dependent stuff either as jars or classes expanded
according
to their package directory structure. Similarly there could be a
'extensions' directory which could contain all the stuff related to
tuscany
extensions.
- Venkat
On 8/15/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote:
On Aug 15, 2006, at 6:39 AM, Meeraj Kunnumpurath wrote:
>>> Rather hack the code you can just set the "tuscany.installDir"
>>> system
> property
> Thanks Jeremy, I did see the usage of tuscany.installDir. My
question
> was in the absence of the system property, does the runtime always
> need
> to resolve the extensions directory relative to the directory from
> which
> the launcher jar was loaded. Can it do the same if the
> MainLauncherBooter was loaded from an exploded directory rather
than a
> Jar?
The quick answer is yes if it knows how to resolve the location of
the extension directory. Given the directory and classloader
structures in our maven build where would that be?
I also have a much longer answer to this that I'm working on :-)
--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]