From: Oliver W. <oli...@zu...> - 2003-09-09 05:58:02
|
Hi Markus Sorry for the delay but I have a lot of work to do... 1) What kind of configuration variables do you mean? Do you want to mov= e the attributes from the greebo task to this file? <greebo dir=3D"${contrib.dir}" dependencyFile=3D"${basedir}/dependency.= xml" omitVersion=3D"true" fileSetId=3D"contrib.fs" > I think we should still support these attributes in a ant task. The tas= k implementation fills the properties in java.util.Properties and pass th= is information to the Greebo Client. So, the whole implementation of Greeb= o is independent from Ant. I guess there is also a plugin mechanism to integ= rate greebo into Maven. 2) You mean, you what to move the following properties to an ant independent configuration file? <repository url=3D"file:///${deploy.dir.local}" type=3D"maven" synchronize=3D"true"/> <repository url=3D"http://${deploy.host}/maven" type=3D"maven" timeout=3D= "1000"/> 3) What could an artificate be else than a Jar? 4) You mean a properties file as part of the greebo jar? 7) As mentioned in 1) 8) As you know, I've added the attribute fileSetId to the greebo task w= hich creates an ant fileset. I can then reference this fileset to build or r= un my application. Sometimes, I only need some jars to build the applicati= on but not for the runtime. I guess, you're addressing this issue? I don't= understand what impact your attribute of the artifact should have? I want to have a more flexible dependency.xml. Instead of: <dependency> <id>ant</id> <jar>ant-1.5.2.jar</jar> </dependency> <dependency> <id>ant</id> <jar>optional-1.5.2.jar</jar> </dependency> something like: <dependency> <id>ant</id> <version>1.5.2</version> <jar>ant</jar> <jar>optional</jar> </dependency> That's much easier... Cheers Oliver ****************************************************************** Oliver Wulff Z=FCrich Versicherungs-Gesellschaft IA4, CoC Middleware Postfach, 8085 Z=FCrich Telefon: +41- 1 628 58 07 Fax: +41 - 1 623 58 07 E-Mail: mailto:oli...@zu... = = "Markus M. May" = = <mm...@gm...> An: gr= eeb...@li... = Gesendet von: Kopie: = = gre...@li...ur Thema: [G= reebo-devel] Reengineering = ceforge.net = = = = = = 19.08.2003 21:38 = = Bitte antworten an = = greebo-devel = = = = = = Okay, finally I checked the stuff from Oliver in. Currently I am working a bi= t on the design of the project. Because we would like to make Greebo ant-independent, there are some changes. 1) I would like to make all of greebo configurable in one .properties o= r .xml file. 2) Another xml file will contain the repositories (or should the repos also be defined in the configuration.xml?) - Also some of the jars are dependend on a specific repository (a small local repo e.g.), so how to= design this? 3) I believe that we will need a couple of Factories. For the Repositor= y as well as for the Artifacts??? 4) make property file, which maps a repo type (e.g. MAVEN) to a specifi= c class, this type can then be used in the repository.xml (attribute of repository) 5) make step 4) also for the artifacts 6) Rename dependency to artifact 7) make a base class (e.g. GreeboClient) which handles the configuratio= n and probably also reads the repository.xml and the artifacts.xml 8) the artifact should have an attribute for the loading time (runtime,= build, ...) So, Ozben what do you think? Oliver? Greets, Markus ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the= best hiring companies. http://www.dice.com/index.epl?rel_code=3D104 _______________________________________________ Greebo-devel mailing list Gre...@li... https://lists.sourceforge.net/lists/listinfo/greebo-devel ******************* BITTE BEACHTEN ******************* Diese Nachricht (wie auch allf=E4llige Anh=E4nge dazu) beinhaltet m=F6glicherweise vertrauliche oder gesetzlich gesch=FCtzte Daten oder Informationen. Zum Empfang derselben ist (sind) ausschliesslich die genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht irrt=FCmlicherweise erreicht hat, sind Sie h=F6flich gebeten, diese un= ter Ausschluss jeder Reproduktion zu zerst=F6ren und die absendende Person= umgehend zu benachrichtigen. Vielen Dank f=FCr Ihre Hilfe.= |