From: Wolfgang K. <wol...@gm...> - 2006-08-04 05:57:03
|
Hi, its good to hear that you integrated the plugins. A few comments on that. * I would prefer to have a single top level directory holding the plugins = (not plugins and plugins=5Fsrc). That probably yields in a directory structu= re having src, classes and jar below this single folder. * I would prefer naming the compiler's output folder classes instead of bi= n. That's how we name all other classes folders. * Should we integrate building the plugins into the overall build process = (as we did it with the demos)=3F I would recommend doing so! What do you think=3F -- Frusty > -----Urspr=FCngliche Nachricht----- > Von: XML11 Developer List <xml...@li...> > Gesendet: 04.08.06 00:22:39 > An: XML11 Developer List <xml...@li...> > Betreff: [XML11-devel] Plugin Development > Hey Guys, >=20 > I changed the structure in the "plugins=5Fsrc" directory according to what= > we talked about today. It's much clearer and easier now I think, and the= > javascript source is now directly included, which means that version > control takes effect. >=20 > Short explanation of the new structure: > Within "plugins=5Fsrc" there is one directory for every plugin (currently > just GMap). In GMap you find "client=5Fjs". This is where all the > javascript files are. You also see "server". This is where the java > source files can be found. Also the "bin" directory is there, where the > config.xml resides and the compiled class files will be moved to. In the= > root of GMap you also finde the build.xml, which makes it easy to > compile, pack and move everything to the "plugins" directory. Just type > "ant" to perform all of these steps at once. If you just want to > compile, type "ant make=5Fserver". If you want to compile and make the > jar, type "ant jar". >=20 > Sascha >=20 >=20 > ------------------------------------------------------------------------= - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share = your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > XML11-devel mailing list > XML...@li... > https://lists.sourceforge.net/lists/listinfo/xml11-devel >=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/=3Fmc=3D021193 |
From: Wolfgang K. <wol...@gm...> - 2006-08-04 08:10:46
|
Sascha, I also see the problem with multiple plugin folders. My thought was having= XML11's plugin folder seperate from the plugin's directory structure. Thi= s means that an additional step is required to make plugins available to X= ML11 (which is basically copying them from the plugin's jar folder to XML1= 1's plugin folder). This can be automated using the plugin's ant script. T= he only open question is about naming/placing the folders - only one (plug= in development folder or XML11's plugin folder) can be named plugin. -- Frusty > -----Urspr=FCngliche Nachricht----- > Von: XML11 Developer List <xml...@li...> > Gesendet: 04.08.06 09:52:53 > An: XML11 Developer List <xml...@li...> > Betreff: Re: [XML11-devel] Plugin Development Hi Wolfgang, >=20 > Wolfgang Korn wrote: > Hi, > its good to hear that you integrated the plugins. A few comments on that= . > * I would prefer to have a single top level directory holding the plugin= s (not plugins and plugins=5Fsrc). That probably yields in a directory struc= ture having src, classes and jar below this single folder. > =20 > The reason why this is done at the moment is because we configure one > directory, where xml11 expects all the plugin jars to be located. If we > put all the source, classes and jars in one directory then the plugin > finder has to recursively search all the subdirectories to find the > needed jars. Although this is not difficult to achieve, I think it's > somehow nicer to have the wrapped plugin jar files in a separate > directory. When you compile a binary distribution, the plugins > directory would be the only one you need. > * I would prefer naming the compiler's output folder classes instead of= bin. That's how we name all other classes folders. > =20 > Totally agree, i will change that! > * Should we integrate building the plugins into the overall build proce= ss (as we did it with the demos)=3F I would recommend doing so! > =20 > I guess this depends on the plugin. The problem with GMap is, that it > needs sfmovies to be in the classpath. As we currently don't expect > people to have this, building of GMap should not be part of the default > targets. >=20 >=20 > Sascha > =20 > =20 > =20 > -----Urspr=FCngliche Nachricht----- > Von: XML11 Developer List <xml...@li...> > Gesendet: 04.08.06 00:22:39 > An: XML11 Developer List <xml...@li...> > Betreff: [XML11-devel] Plugin Development > =20 > =20 > =20 > =20 > =20 > Hey Guys, > I changed the structure in the "plugins=5Fsrc" directory according to what= > we talked about today. It's much clearer and easier now I think, and the= > javascript source is now directly included, which means that version > control takes effect. > Short explanation of the new structure: > Within "plugins=5Fsrc" there is one directory for every plugin (currently > just GMap). In GMap you find "client=5Fjs". This is where all the > javascript files are. You also see "server". This is where the java > source files can be found. Also the "bin" directory is there, where the > config.xml resides and the compiled class files will be moved to. In the= > root of GMap you also finde the build.xml, which makes it easy to > compile, pack and move everything to the "plugins" directory. Just type > "ant" to perform all of these steps at once. If you just want to > compile, type "ant make=5Fserver". If you want to compile and make the > jar, type "ant jar". > Sascha > ------------------------------------------------------------------------= - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share = your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > XML11-devel mailing list > XML...@li... > https://lists.sourceforge.net/lists/listinfo/xml11-devel > =20 > =20 > =20 > =20 >=20 >=20 > ----------------------------------------------------------------- > ------------------------------------------------------------------------= - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share = your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V >=20 > ----------------------------------------------------------------- > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > XML11-devel mailing list > XML...@li... > https://lists.sourceforge.net/lists/listinfo/xml11-devel >=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/=3Fmc=3D021193 |
From: Wolfgang K. <wol...@gm...> - 2006-08-04 08:23:30
|
Having a separate project sounds reasonable. That would probably work for = AWT as well. But from my point of view the AWT plugin is a little bit spec= ial. I think that AWT is a kind of core plugin which should be more integr= ated into the main build process (should be built and made available autom= atically during the main build). For contributed 3rd party plugins like GM= ap the loose coupling using a separate project should be ok. -- Frusty > -----Urspr=FCngliche Nachricht----- > Von: XML11 Developer List <xml...@li...> > Gesendet: 04.08.06 10:13:07 > An: XML11 Developer List <xml...@li...> > Betreff: Re: [XML11-devel] Plugin Development This seems to be a proper solution. Frusty, what do you think=3F As you > are working on making AWT a plugin as well.... would this work for you=3F >=20 > Sascha >=20 >=20 >=20 > Arno Puder wrote: > would it be in idea to open up a new CVS module with all the plugins=3F Y= ou can still reference it from within XML11 via ../XML11Plugins/... or som= ething. This way you can also make it a proper Eclipse project without pol= luting XML11 itself. > Arno > Sascha Haeberling wrote: > =20 > =20 > Hey Guys, > I changed the structure in the "plugins=5Fsrc" directory according to what= > we talked about today. It's much clearer and easier now I think, and the= > javascript source is now directly included, which means that version > control takes effect. > Short explanation of the new structure: > Within "plugins=5Fsrc" there is one directory for every plugin (currently > just GMap). In GMap you find "client=5Fjs". This is where all the > javascript files are. You also see "server". This is where the java > source files can be found. Also the "bin" directory is there, where the > config.xml resides and the compiled class files will be moved to. In the= > root of GMap you also finde the build.xml, which makes it easy to > compile, pack and move everything to the "plugins" directory. Just type > "ant" to perform all of these steps at once. If you just want to > compile, type "ant make=5Fserver". If you want to compile and make the > jar, type "ant jar". > Sascha > ------------------------------------------------------------------------= - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share = your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > XML11-devel mailing list > XML...@li... > https://lists.sourceforge.net/lists/listinfo/xml11-devel > =20 > =20 > =20 > ------------------------------------------------------------------------= - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share = your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > XML11-devel mailing list > XML...@li... > https://lists.sourceforge.net/lists/listinfo/xml11-devel > =20 >=20 >=20 > ----------------------------------------------------------------- > ------------------------------------------------------------------------= - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share = your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V >=20 > ----------------------------------------------------------------- > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > XML11-devel mailing list > XML...@li... > https://lists.sourceforge.net/lists/listinfo/xml11-devel >=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/=3Fmc=3D021193 |
From: <ma...@sa...> - 2006-08-04 07:52:36
|
Hi Wolfgang, Wolfgang Korn wrote: > Hi, > > its good to hear that you integrated the plugins. A few comments on that.= > > * I would prefer to have a single top level directory holding the plugins= (not plugins and plugins_src). That probably yields in a directory structu= re having src, classes and jar below this single folder. > =20 The reason why this is done at the moment is because we configure one directory, where xml11 expects all the plugin jars to be located. If we put all the source, classes and jars in one directory then the plugin finder has to recursively search all the subdirectories to find the needed jars. Although this is not difficult to achieve, I think it's somehow nicer to have the wrapped plugin jar files in a separate directory. When you compile a binary distribution, the plugins directory would be the only one you need. > * I would prefer naming the compiler's output folder classes instead of b= in. That's how we name all other classes folders. > =20 Totally agree, i will change that! > * Should we integrate building the plugins into the overall build process= (as we did it with the demos)? I would recommend doing so! > =20 I guess this depends on the plugin. The problem with GMap is, that it needs sfmovies to be in the classpath. As we currently don't expect people to have this, building of GMap should not be part of the default targets. Sascha > > > =20 >> -----Urspr=FCngliche Nachricht----- >> Von: XML11 Developer List <xml...@li...> >> Gesendet: 04.08.06 00:22:39 >> An: XML11 Developer List <xml...@li...> >> Betreff: [XML11-devel] Plugin Development >> =20 > > > =20 >> Hey Guys, >> >> I changed the structure in the "plugins_src" directory according to what= >> we talked about today. It's much clearer and easier now I think, and the= >> javascript source is now directly included, which means that version >> control takes effect. >> >> Short explanation of the new structure: >> Within "plugins_src" there is one directory for every plugin (currently >> just GMap). In GMap you find "client_js". This is where all the >> javascript files are. You also see "server". This is where the java >> source files can be found. Also the "bin" directory is there, where the >> config.xml resides and the compiled class files will be moved to. In the= >> root of GMap you also finde the build.xml, which makes it easy to >> compile, pack and move everything to the "plugins" directory. Just type >> "ant" to perform all of these steps at once. If you just want to >> compile, type "ant make_server". If you want to compile and make the >> jar, type "ant jar". >> >> Sascha >> >> >> ------------------------------------------------------------------------= - >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share = your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >> _______________________________________________ >> XML11-devel mailing list >> XML...@li... >> https://lists.sourceforge.net/lists/listinfo/xml11-devel >> >> =20 > > =20 |