site-local cents

"Adam Jack" <[email protected]>
Newsgroups gmane.comp.krysalis.user
Message-ID <006401c32c6c$65de1850$851ce641@wdn086>
I have some ant script that I have been cutting-n-pasting to numerous
centibuild.xml files, and I am tired of it. I want to convert it to a cent.

I copied the layout/contents from the java-cent, and cut-n-paste my ant
script one last time [Yahoo!!] into xbuild.xml. I did my "cent install-cent"
and it created me the cent jar, and installed it in my local W2K cent.
Wow -- 10 minutes top. :-)

Two things:

1) I need to deploy this to my Linux gump environment. I see that importCent
will look in a few local file locations (based off properties, see below)
but to create an HTTP (remote) repository I think I need to add a URIList.

	  addLocalRepo(ruper, "cents.dir", null);
        addLocalRepo(ruper, "ant.home", "tools/cents");
        addLocalRepo(ruper, "user.home", "lib/cents");
        //:TODO: This one a possible dup of ant.home?
        addLocalRepo(ruper, "basedir", "tools/cents");
        addLocalRepo(ruper, "build.dir", "tools/cents");

What advice can you give for which is the "right" approach (I assume the
HTTP repository), but if so -- could somebody reference the entries I need
to make to centibuild.xml to do this?

2) I have an XSLT script in src/resources that I wish deployed w/ my cent. I
looked inside my cent jar, but I don't see it. I have this structure:

		src/xbuild.xml
		src/resources/plugin.xsl	 [not getting JARed]
		centibuild
		module.xml (w/ <code type="cent/plain" dir="src"/>)
		...

Any pointers on what I might be doing wrong?

regards,

Adam
--
<http://www.try.sybase.com>
Experience Sybase Technology ...



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.