[opencms-dev] RE: CLI for VFS or even better ant tasks for OpenCMS
M Butcher
mbutcher at grcomputing.net
Sat May 1 00:08:01 CEST 2004
Synchronizing:
This just copies files to the system's FS and then keeps them in sync.
You would just use Ant's normal file operations to work with this.
API:
See the CmsShell program included with OpenCms. Essentially, you have to
create an OpenCms instance and then operate on that instance.
In most cases, you can only have one instance of the OpenCms object (a
singleton) operating on the database.
Matt
Johannsen, Cory (Mission Systems) wrote:
>>>* Is there an ant task to automatically deploy my code into OpenCMS? *
>>
>>yes, have a look in the Opencms-API (www.synyx.de/opencms-doc) or use the synchronize function from ocms
>
>
> How do I use this API to access the VFS from within ant? I perused the API doc, but I cannot determine how I go about using it to define a task in ant for deployment of files into OpenCMS.
>
> Thanks,
> Cory
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list