I have this working... running testsuite now.  This was a little bit 
trickier than I had first thought.  The tricky bit is how do you specify 
a URL to load resources off net and still let local directories exist 
under the same namespace.  There is no clean seperation of what can be 
net and what must be local based on this structure... but I think I have 
solved that.

The primary difference is that there is a HomeDir and a ServerHomeDir, 
where the first would refer to the parent directory of bin/ (like it did 
before) and ServerHomeDir is the directory w/ServerName (from 
ConfigName) appened, so server/default.

To make the url bit work there is a HomeURL (from InstallURL) and a 
ServerHomeURL, which default to there directory counterparts.  Then 
config bits that are URL based use the URL versions for defaults and Dir 
versions for File.

I am leaving the command line options the same in Main for now, 
--net-boot and --configuration should still do the right thing.

I left in deprecated getInstallURL, getConfigURL, getDataDir and 
getTempDir which return the correct value for now until I can switch 
things over all the way.

I implemeted the config backend for LibraryURL and ServerLibraryURL, but 
nothing uses ServerLibraryURL at the moment.

There is also a issue with MainDeployer with what it uses for the base 
of relative files.  It current still uses HomeDir for this, cause I 
think that might be needed for codebase elements, but not too sure. 
 Should straighten this out.  In the mean time, I am using an eplicit 
URL for deploy/, which uses the ServerHomeURL.

Testsuite runs fine... shall I commit this?

--jason


Scott M Stark wrote:

>No, he thought David's idea of moving everything to deploy
>was a bad idea. The suggestion from Hiram was:
>
>jboss/
>jboss/bin/
>jboss/lib/
>jboss/client/
>jboss/servers/default
>jboss/servers/default/conf
>jboss/servers/default/tmp
>jboss/servers/default/db
>jboss/servers/default/deploy
>jboss/servers/minimal
>jboss/servers/minimal/conf
>jboss/servers/minimal/tmp
>jboss/servers/minimal/db
>jboss/servers/minimal/deploy
>etc.
>
>xxxxxxxxxxxxxxxxxxxxxxxx
>Scott Stark
>Chief Technology Officer
>JBoss Group, LLC
>xxxxxxxxxxxxxxxxxxxxxxxx
>----- Original Message -----
>From: "Bill Burke" <[EMAIL PROTECTED]>
>To: "Scott M Stark" <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>
>Sent: Monday, February 25, 2002 3:28 PM
>Subject: RE: [JBoss-dev] We need more configurations in the distribution
>
>
>>I thought Marc nixed this idea
>>
>>>-----Original Message-----
>>>From: [EMAIL PROTECTED]
>>>[mailto:[EMAIL PROTECTED]]On Behalf Of Scott
>>>M Stark
>>>Sent: Monday, February 25, 2002 6:29 PM
>>>To: [EMAIL PROTECTED]
>>>Subject: Re: [JBoss-dev] We need more configurations in the distribution
>>>
>>>
>>>That is fine with me.
>>>
>
>
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development
>



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to