# HG changeset patch # User František Kučera # Date 1265822755 -3600 # Node ID b8ecf1ac63fbe33effbbc48e0783ebcdb11649a9 Vytvoření projektu v Netbeans a základní kostra. diff -r 000000000000 -r b8ecf1ac63fb .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,5 @@ +java/SpringDemo1/nbproject/private +java/SpringDemo1/build +java/SpringDemo1/dist + + diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/nbproject/ant-deploy.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/nbproject/ant-deploy.xml Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/nbproject/build-impl.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/nbproject/build-impl.xml Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,858 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set build.web.dir + Must set build.generated.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.war + +The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}. +Either open the project in the IDE and assign the server or setup the server classpath manually. +For example like this: + ant -Duser.properties.file=<path_to_property_file> (where you put the property "j2ee.platform.classpath" in a .properties file) +or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties file is used) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +The libs.CopyLibs.classpath property is not set up. +This property must point to +org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part +of NetBeans IDE installation and is usually located at +<netbeans_installation>/java<version>/ant/extra folder. +Either open the project in the IDE and make sure CopyLibs library +exists or setup the property manually. For example like this: + ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.jsp.includes + + + + + + + + + + + + + + + + + + + + + + + Must select a file in the IDE or set jsp.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable. + + + Launching ${browse.url} + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/nbproject/genfiles.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/nbproject/genfiles.properties Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,8 @@ +build.xml.data.CRC32=99d5a06e +build.xml.script.CRC32=6de4a4de +build.xml.stylesheet.CRC32=c0ebde35@1.21.2.1 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=99d5a06e +nbproject/build-impl.xml.script.CRC32=4d6f4164 +nbproject/build-impl.xml.stylesheet.CRC32=b139b33b@1.21.2.1 diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/nbproject/project.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/nbproject/project.properties Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,73 @@ +build.classes.dir=${build.web.dir}/WEB-INF/classes +build.classes.excludes=**/*.java,**/*.form +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +build.web.dir=${build.dir}/web +build.web.excludes=${build.classes.excludes} +client.urlPart= +compile.jsps=false +conf.dir=${source.root}/conf +debug.classpath=${build.classes.dir}:${javac.classpath} +debug.test.classpath=\ + ${run.test.classpath} +display.browser=false +dist.dir=dist +dist.ear.war=${dist.dir}/${war.ear.name} +dist.javadoc.dir=${dist.dir}/javadoc +dist.war=${dist.dir}/${war.name} +endorsed.classpath=\ + ${libs.javaee-endorsed-api-6.0.classpath} +excludes= +includes=** +j2ee.deploy.on.save=false +j2ee.platform=1.6-web +j2ee.server.type=gfv3ee6 +jar.compress=false +javac.classpath=\ + ${libs.spring-framework.classpath} +# Space-separated list of extra javac options +javac.compilerargs= +javac.debug=true +javac.deprecation=false +javac.source=1.5 +javac.target=1.5 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir}:\ + ${libs.junit.classpath}:\ + ${libs.junit_4.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.preview=true +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +jspcompilation.classpath=${jspc.classpath}:${javac.classpath} +lib.dir=${web.docbase.dir}/WEB-INF/lib +persistence.xml.dir=${conf.dir} +platform.active=default_platform +resource.dir=setup +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +# Space-separated list of JVM arguments used when running a class with a main method or a unit test +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value): +runmain.jvmargs= +source.encoding=UTF-8 +source.root=src +src.dir=${source.root}/java +test.src.dir=test +war.content.additional= +war.ear.name=SpringDemo1.war +war.name=SpringDemo1.war +web.docbase.dir=web +webinf.dir=web/WEB-INF diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/nbproject/project.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/nbproject/project.xml Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,23 @@ + + + org.netbeans.modules.web.project + + + SpringDemo1 + 1.6.5 + + + ${libs.spring-framework.classpath} + WEB-INF/lib + + + + + + + + + + + + diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/src/conf/MANIFEST.MF --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/src/conf/MANIFEST.MF Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/src/java/cz/frantovo/springDemo1/dao/KnihaDAO.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/src/java/cz/frantovo/springDemo1/dao/KnihaDAO.java Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,9 @@ +package cz.frantovo.springDemo1.dao; + +/** + * + * @author fiki + */ +public class KnihaDAO { + +} diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/src/java/cz/frantovo/springDemo1/dto/Kniha.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/src/java/cz/frantovo/springDemo1/dto/Kniha.java Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,9 @@ +package cz.frantovo.springDemo1.dto; + +/** + * + * @author fiki + */ +public class Kniha { + +} diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/src/java/cz/frantovo/springDemo1/web/SpringDemo1Bean.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/src/java/cz/frantovo/springDemo1/web/SpringDemo1Bean.java Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,9 @@ +package cz.frantovo.springDemo1.web; + +/** + * + * @author fiki + */ +public class SpringDemo1Bean { + +} diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/web/WEB-INF/beans.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/web/WEB-INF/beans.xml Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,5 @@ + + + diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/web/WEB-INF/sun-web.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/web/WEB-INF/sun-web.xml Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,11 @@ + + + + /SpringDemo1 + + + + Keep a copy of the generated servlet class' java code. + + + diff -r 000000000000 -r b8ecf1ac63fb java/SpringDemo1/web/index.jsp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/SpringDemo1/web/index.jsp Wed Feb 10 18:25:55 2010 +0100 @@ -0,0 +1,21 @@ + + + + + + + + SpringDemo1 + + +

SpringDemo1

+

Spring JDBC…

+ + + + +