<importcent name="centname" localRepositories="URL"/>

Nick Chalko <[email protected]>
Newsgroups gmane.comp.krysalis.user
Message-ID <[email protected]>
Adam Jack wrote:

>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?
>

 From smoketest
    <importcent name="smoke-test-twice" localRepositories="tools/cents/"/>

where localrepositories is any valid URL.

>  
>


-- 
Nick Chalko                                         Show me the code.
                          Centipede
  Ant + autodownloadable build plugins + needed jars autodownload.
              http://krysalis.org/centipede
---------------------------------------------------------------------
smime.p7s (application/x-pkcs7-signature, 3.3 KB) - not displayed
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.