[Registry-dev] Registry packaging

Glen Daniels glen at wso2.com
Tue Dec 18 21:22:52 PST 2007


Hi Chathura:

Chathura C. Ekanayake wrote:
> I think we should include the documents also in the zip distribution. 
> And there should be a jar distribution as well, as we are targeting it 
> to be used inside other Java programs. So IMHO the packaging structure 
> and names can be as follows:
> 
> wso2registry-1.0-alpha.war
> ==================
> 
> Webapp with relevant jars and other resources to be deployed in servlet 
> containers.
> This provides the web UI for human interaction and APP interface for 
> interaction with other systems.

+1

> wso2registry-1.0-alpha.jar
> =================
> 
> Registry library to be embedded and used inside Java programs. Once this 
> is embedded, Java programs
> can interact with the Registry using the provided Java API.

I think it's good to provide one jar that contains everything, but I 
think it's also important that we ship an API jar (think JAXP) which can 
be linked against by itself without regard for implementation:

wso2registry-api-1.0-alpha.jar (or alternately s/api/client/)

This contains the Registry interface, any common concrete classes, and 
the ability to bootstrap particular implementations.  I should be able 
to just link against this jar and say:

Registry reg = RegistryFactory.getRegistry();

and have the right thing happen, assuming the real impl has also been 
put in the classpath and configured.  (yes, I still need to commit the 
factory first cut!)

--Glen

> wso2registry-1.0-alpha-src.zip
> ====================
> 
> Source distribution with the source of both core library and webapp 
> modules.
> 
> wso2registry-1.0-alpha-docs.zip
> =====================
> 
> Registry user guide and java docs.
> 
> wso2registry-1.0-alpha.zip
> ==================
> 
> Complete distribution containing wso2registry-1.0-alpha.war, 
> wso2registry-1.0-alpha.jar and wso2registry-1.0-alpha-docs.zip.
> 
> If we all agree with above structure, I can proceed with that.
> 
> Thanks,
> Chathura
> 
> 
> 
> 
> Deepal Jayasinghe wrote:
>> Hi all,
>>
>> I think we need to discuss and figure out the way we are going to do the
>> registry packaging. At the moment I think we can have four release
>> artifacts in the distributions as follows,
>>  - WAR distribution
>>     - Will contain webapp and all the relevant jar files
>> -ZIP distribution
>>     - Will contain WAR file as well as wso2regitry.jar file
>> -Source distribution (source.zip)
>> -Document distribution  (docs.zip)
>>
>> In addition to that , I think we can release remote registry as a the
>> separate distribution ,however  wso2regitry.jar will contain all the jar
>> file related to that.
>>
>>
>>
>> Thanks
>> Deepal
>>
>>
>> _______________________________________________
>> Registry-dev mailing list
>> Registry-dev at wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
>>
>>   
> 
> 
> _______________________________________________
> Registry-dev mailing list
> Registry-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
> 



More information about the Registry-dev mailing list