Meeting 17: Unterschied zwischen den Versionen

Aus Java Student User Group Austria - Java + JVM in Wien Österreich / Vienna Austria
Wechseln zu: Navigation, Suche
(urOGCqapQIeaP)
(hRFMvvjyoqCUUYEKS)
Zeile 1: Zeile 1:
The jspc-maven-plugin from codehaus mojo uses only tcmaot 5.5.15, whereas this one will use either 5.5.15 or glassfish.Also, the jspc-maven-plugin uses the java compiler that maven uses, whereas this plugin uses the same compiler that you use in dev mode for on-the-fly compilation, which is the Eclipse java compiler.Some other differences are:  + you don't have to specify a marker in the web.xml for where to insert the generated servlet-mappings. For servlet2.4 and above, the order of elements in web.xml is not significant, so the plugin can just automatically append it to the end of the existing web.xml.+ you can generate the smap stuff for jsr45 compliant debugging+ supports some other glassfish-only compilation options+ this plugin is bound to the process-classes phase whereas the other one is bound to the compile phase. As maven 2.0.4 and below doesn't guarantee the order of execution of plugins, binding to the compile phase doesn't guarantee that the java classes in the webapp will have already been compiled by the time the jspc-maven-plugin runs. This way guarantees that the jsp compilation slots in nicely between the compile and package phases.
+
Hi! I am trying to cgahne my local repository of maven, but I am using ant too, so I can't find where to do it: in the fetch.xml (from ant) file, or in the settings.xml file. Of course i tried it changing the settings.xml, but it didn't work, so now i am trying it in the fetch.xml and get-m2.xml of ant, but i haven't got nothing yet any idea?????? thanx!!!!!

Version vom 16. Dezember 2012, 07:41 Uhr

Hi! I am trying to cgahne my local repository of maven, but I am using ant too, so I can't find where to do it: in the fetch.xml (from ant) file, or in the settings.xml file. Of course i tried it changing the settings.xml, but it didn't work, so now i am trying it in the fetch.xml and get-m2.xml of ant, but i haven't got nothing yet any idea?????? thanx!!!!!