# HG changeset patch # User František Kučera # Date 1237064321 -3600 # Node ID 16a1fc2116d6c0fd72c6f76dbd60a8dee026bfce Založení projektů (ejb, lib, web) diff -r 000000000000 -r 16a1fc2116d6 .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,20 @@ +java/HibernateDemo1/nbproject/private +java/HibernateDemo1/build +java/HibernateDemo1/dist +java/HibernateDemo1/src/conf/MANIFEST.MF + +java/HibernateDemo1/HibernateDemo1-war/nbproject/private +java/HibernateDemo1/HibernateDemo1-war/build +java/HibernateDemo1/HibernateDemo1-war/dist +java/HibernateDemo1/HibernateDemo1-war/src/conf/MANIFEST.MF + +java/HibernateDemo1/HibernateDemo1-lib/nbproject/private +java/HibernateDemo1/HibernateDemo1-lib/build +java/HibernateDemo1/HibernateDemo1-lib/dist + +java/HibernateDemo1/HibernateDemo1-ejb/nbproject/private +java/HibernateDemo1/HibernateDemo1-ejb/build +java/HibernateDemo1/HibernateDemo1-ejb/dist +java/HibernateDemo1/HibernateDemo1-ejb/src/conf/MANIFEST.MF + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-ejb/build.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-ejb/build.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,68 @@ + + + + + + + + + + + Builds, tests, and runs the project HibernateDemo1-ejb. + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-ejb/nbproject/ant-deploy.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-ejb/nbproject/ant-deploy.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-ejb/nbproject/build-impl.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-ejb/nbproject/build-impl.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,582 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set build.generated.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.classes.excludes + Must set dist.jar + +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 one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set main.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 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-ejb/nbproject/genfiles.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-ejb/nbproject/genfiles.properties Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,8 @@ +build.xml.data.CRC32=a2bfba21 +build.xml.script.CRC32=7c7108db +build.xml.stylesheet.CRC32=e5f4c432 +# 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=a2bfba21 +nbproject/build-impl.xml.script.CRC32=815f4b2d +nbproject/build-impl.xml.stylesheet.CRC32=36c39d59 diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-ejb/nbproject/project.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-ejb/nbproject/project.properties Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,60 @@ +build.classes.dir=${build.dir}/jar +build.classes.excludes=**/*.java,**/*.form,**/.nbattrs +build.dir=build +build.ear.classes.dir=${build.dir}/jar +build.generated.dir=${build.dir}/generated +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +debug.classpath=${javac.classpath}:${build.classes.dir} +debug.test.classpath=\ + ${run.test.classpath} +dist.dir=dist +dist.ear.jar=${dist.dir}/${jar.name} +dist.jar=${dist.dir}/${jar.name} +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +j2ee.deploy.on.save=true +j2ee.platform=1.5 +j2ee.server.type=J2EE +jar.compress=false +jar.name=HibernateDemo1-ejb.jar +javac.classpath=\ + ${reference.HibernateDemo1-lib.jar} +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= +meta.inf=${source.root}/conf +meta.inf.excludes=sun-cmp-mappings.xml +platform.active=default_platform +project.HibernateDemo1-lib=../HibernateDemo1-lib +reference.HibernateDemo1-lib.jar=${project.HibernateDemo1-lib}/dist/HibernateDemo1-lib.jar +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 diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-ejb/nbproject/project.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-ejb/nbproject/project.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,27 @@ + + + org.netbeans.modules.j2ee.ejbjarproject + + + HibernateDemo1-ejb + 1.6.5 + reference.HibernateDemo1-lib.jar + + + + + + + + + + HibernateDemo1-lib + jar + + jar + clean + jar + + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-ejb/src/java/cz/frantovo/hibernateDemo1/CilDAOBean.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-ejb/src/java/cz/frantovo/hibernateDemo1/CilDAOBean.java Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,20 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ + +package cz.frantovo.hibernateDemo1; + +import javax.ejb.Stateless; + +/** + * + * @author fiki + */ +@Stateless +public class CilDAOBean implements CilDAORemote { + + // Add business logic below. (Right-click in editor and choose + // "Insert Code > Add Business Method" or "Web Service > Add Operation") + +} diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-lib/build.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-lib/build.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,74 @@ + + + + + + + + + + + Builds, tests, and runs the project HibernateDemo1-lib. + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-lib/nbproject/build-impl.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-lib/nbproject/build-impl.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,642 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.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.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + + + + + + java -cp "${run.classpath.with.dist.jar}" ${main.class} + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.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 + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-lib/nbproject/genfiles.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-lib/nbproject/genfiles.properties Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,8 @@ +build.xml.data.CRC32=9dc487bf +build.xml.script.CRC32=11a4d0f6 +build.xml.stylesheet.CRC32=958a1d3e +# 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=9dc487bf +nbproject/build-impl.xml.script.CRC32=ef149eb8 +nbproject/build-impl.xml.stylesheet.CRC32=65b8de21 diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-lib/nbproject/project.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-lib/nbproject/project.properties Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,60 @@ +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/HibernateDemo1-lib.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath=\ + ${libs.JavaEE.classpath} +# Space-separated list of extra javac options +javac.compilerargs= +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.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +meta.inf.dir=${src.dir}/META-INF +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value +# or test-sys-prop.name=value to set system properties for unit tests): +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-lib/nbproject/project.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-lib/nbproject/project.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,16 @@ + + + org.netbeans.modules.java.j2seproject + + + HibernateDemo1-lib + 1.6.5 + + + + + + + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-lib/src/cz/frantovo/hibernateDemo1/CilDAORemote.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-lib/src/cz/frantovo/hibernateDemo1/CilDAORemote.java Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,17 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ + +package cz.frantovo.hibernateDemo1; + +import javax.ejb.Remote; + +/** + * + * @author fiki + */ +@Remote +public interface CilDAORemote { + +} diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-lib/src/cz/frantovo/hibernateDemo1/dto/Cil.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-lib/src/cz/frantovo/hibernateDemo1/dto/Cil.java Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,40 @@ +package cz.frantovo.hibernateDemo1.dto; + +import java.io.Serializable; + +/** + * Definice cíle spamování + * @author fiki + */ +public class Cil implements Serializable { + + private static final long serialVersionUID = 3789654950408517499L; + private int id; + private String nazev; + private String url; + + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getNazev() { + return nazev; + } + + public void setNazev(String nazev) { + this.nazev = nazev; + } + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } +} diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-war/build.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-war/build.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,71 @@ + + + + + + + + + + + Builds, tests, and runs the project HibernateDemo1-war. + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-war/nbproject/ant-deploy.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-war/nbproject/ant-deploy.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-war/nbproject/build-impl.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-war/nbproject/build-impl.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,824 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 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 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-war/nbproject/genfiles.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-war/nbproject/genfiles.properties Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,8 @@ +build.xml.data.CRC32=79a976de +build.xml.script.CRC32=c9f21ad6 +build.xml.stylesheet.CRC32=c0ebde35 +# 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=79a976de +nbproject/build-impl.xml.script.CRC32=20cb0e44 +nbproject/build-impl.xml.stylesheet.CRC32=174458fc diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-war/nbproject/project.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-war/nbproject/project.properties Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,76 @@ +build.classes.dir=${build.web.dir}/WEB-INF/classes +build.classes.excludes=**/*.java,**/*.form +build.dir=build +build.generated.dir=${build.dir}/generated +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=true +dist.dir=dist +dist.ear.war=${dist.dir}/${war.ear.name} +dist.javadoc.dir=${dist.dir}/javadoc +dist.war=${dist.dir}/${war.name} +excludes= +includes=** +j2ee.deploy.on.save=true +j2ee.platform=1.5 +j2ee.server.type=J2EE +jar.compress=false +javac.classpath=\ + ${reference.HibernateDemo1-ejb.dist}:\ + ${reference.HibernateDemo1-lib.jar} +# 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 +no.dependencies=false +persistence.xml.dir=${conf.dir} +platform.active=default_platform +project.HibernateDemo1-ejb=../HibernateDemo1-ejb +project.HibernateDemo1-lib=../HibernateDemo1-lib +reference.HibernateDemo1-ejb.dist=${project.HibernateDemo1-ejb}/dist/HibernateDemo1-ejb.jar +reference.HibernateDemo1-lib.jar=${project.HibernateDemo1-lib}/dist/HibernateDemo1-lib.jar +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=HibernateDemo1-war.war +war.name=HibernateDemo1-war.war +web.docbase.dir=web +webinf.dir=web/WEB-INF diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-war/nbproject/project.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-war/nbproject/project.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,45 @@ + + + org.netbeans.modules.web.project + + + HibernateDemo1-war + 1.6.5 + + + ${reference.HibernateDemo1-ejb.dist} + WEB-INF/lib + + + ${reference.HibernateDemo1-lib.jar} + WEB-INF/lib + + + + + + + + + + + + + HibernateDemo1-ejb + jar + + dist + clean + dist + + + HibernateDemo1-lib + jar + + jar + clean + jar + + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-war/web/WEB-INF/sun-web.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-war/web/WEB-INF/sun-web.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,11 @@ + + + + /HibernateDemo1-war + + + + Keep a copy of the generated servlet class' java code. + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-war/web/WEB-INF/web.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-war/web/WEB-INF/web.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,11 @@ + + + + + 30 + + + + index.jsp + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/HibernateDemo1-war/web/index.jsp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/HibernateDemo1-war/web/index.jsp Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,19 @@ +<%-- + Document : index + Created on : 14.3.2009, 21:22:28 + Author : fiki +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + + JSP Page + + +

Hello World!

+ + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/build.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/build.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,61 @@ + + + + + + + + + + + Builds, tests, and runs the project HibernateDemo1. + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/nbproject/ant-deploy.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/nbproject/ant-deploy.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/nbproject/build-impl.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/nbproject/build-impl.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,409 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set build.dir + Must set build.generated.dir + Must set dist.dir + Must set build.classes.excludes + Must set dist.jar + + + +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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable. + + + Launching ${browse.url} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/nbproject/genfiles.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/nbproject/genfiles.properties Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,8 @@ +build.xml.data.CRC32=8c87ccb0 +build.xml.script.CRC32=320a8340 +build.xml.stylesheet.CRC32=475c2a62 +# 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=8c87ccb0 +nbproject/build-impl.xml.script.CRC32=0cb17bf2 +nbproject/build-impl.xml.stylesheet.CRC32=47a529d0 diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/nbproject/project.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/nbproject/project.properties Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,31 @@ +build.classes.excludes=**/*.java,**/*.form,**/.nbattrs +build.dir=build +build.generated.dir=${build.dir}/generated +client.module.uri=HibernateDemo1-war +client.urlPart= +debug.classpath=${javac.classpath}::${jar.content.additional}:${run.classpath} +display.browser=true +dist.dir=dist +dist.jar=${dist.dir}/${jar.name} +j2ee.appclient.mainclass.args=-client ${dist.jar} ${j2ee.appclient.tool.args} +j2ee.deploy.on.save=true +j2ee.platform=1.5 +j2ee.server.type=J2EE +jar.compress=false +jar.content.additional=\ + ${reference.HibernateDemo1-war.dist-ear}:\ + ${reference.HibernateDemo1-ejb.dist-ear} +jar.name=HibernateDemo1.ear +javac.debug=true +javac.deprecation=false +javac.source=1.5 +javac.target=1.5 +meta.inf=src/conf +no.dependencies=false +platform.active=default_platform +project.HibernateDemo1-ejb=HibernateDemo1-ejb +project.HibernateDemo1-war=HibernateDemo1-war +reference.HibernateDemo1-ejb.dist-ear=${project.HibernateDemo1-ejb}/dist/HibernateDemo1-ejb.jar +reference.HibernateDemo1-war.dist-ear=${project.HibernateDemo1-war}/dist/HibernateDemo1-war.war +resource.dir=setup +source.root=. diff -r 000000000000 -r 16a1fc2116d6 java/HibernateDemo1/nbproject/project.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/HibernateDemo1/nbproject/project.xml Sat Mar 14 21:58:41 2009 +0100 @@ -0,0 +1,39 @@ + + + org.netbeans.modules.j2ee.earproject + + + HibernateDemo1 + 1.6.5 + + + + ${reference.HibernateDemo1-war.dist-ear} + / + + + ${reference.HibernateDemo1-ejb.dist-ear} + / + + + + + + HibernateDemo1-ejb + j2ee_ear_archive + + dist-ear + clean-ear + dist-ear + + + HibernateDemo1-war + j2ee_ear_archive + + dist-ear + clean-ear + dist-ear + + + +