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 |