Hi Ramesh,
 
Please find attached the generated rar for your review. The original project had an additional custom-lib directory with 2 jars. Let me know if you find the packaging proper.
 
Thanks
 
Sanjay

 
On Mon, Nov 23, 2009 at 4:37 PM, Ramesh Reddy <rareddy@redhat.com> wrote:
On Mon, 2009-11-23 at 13:16 -0600, Sanjay Chaudhuri wrote:
> Please confirm on the custom-jar instead of splited class files.
> Making a jar will be some additional code, on top of the exporting a
> rar with the required resources.
Yes, that is the way I see RAR files packaged in JBoss AS.

> Few other questions: 1. The other question I have is, will compilation
> errors prevent from building the rar or do I export with whatever I
> get compiled ?
Should Fail, or not let them proceed.

> 2. Does the custom connector sources gets exported too as
> connector-src.zip ?
No, we do not need to worry about the source files. User will maintain
their sources in whatever form (CVS etc). If this connector is a
in-built connector from Teiid, then we would have converted this into
Teiid project using the maven build stuff, where it already knows how to
package the sources for re-distribution.

> If yes, does it go inside the connector-custom.jar if we have one ?
If you want this can be a option, if at all we have a wizard where
somebody can click a check box. There is no restriction if you
place .java files in JAR in that case from RAR file format. It is like
any other JAR file.

> The operation currently will be a right-click export; will not have
> any wizards as of now atleast. The generated RAR will put on the root
> of the current workspace project.
I think we have to give user a choice to browse to a directory where
this can be created. As the user then needs to move this file into the
"runtime" container like JBoss AS where this can be deployed, or to
automate the deployment of connector from the plug-in you are writing.

Thanks

Ramesh..