From: <rl...@jb...> - 2005-07-13 21:54:33
|
Two issues have come up today which I would like to get confirmation on. 1) libraries.ent generation location If we generate a libraries.ent and store it in the thirdparty folder this will require a change to the build.xml files. The buildfiles currently reference it in this manner: ENTITY libraries SYSTEM "../tools/buildmagic/etc/libraries.ent" which we change to look like this: ENTITY libraries SYSTEM "../thirdparty/libraries.ent" If this were to be modified to point to the thirdparty location we will have a problem when the thirdparty folder is not yet present. For example, if we were to perform a clean checkout of JBoss-4.0.x (which does not pull down the thirdparty folder) and then try to build we will immediately get an exception stating that the the libraries.ent file is not found. This is valid as we have not generated it yet. A simple solution would be to place the generated file in the same location as the pre-existing file. If a user ever wished to revert back he would simply pull down the old version from cvs. Next: Adrian raised a valid issue regarding making the thirdparty downloading the first target of the build. anonymous wrote : You cannot do that, unless there is mechanism to disable it (e.g. an unless="property"). | What happens if somebody is working offline? The way that I have set this up is that there is indeed an unless property. If the build-thirdparty.xml file is newer than the libraries.ent file then the downloads from the repository will take place. Otherwise the build will transpire as usual. If you do not have the thirdparty components on your machine and you do not have a net connection you will not be able to build. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884790#3884790 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884790 |