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 |