1.1 --- a/.hgignore Thu Feb 12 20:15:50 2009 +0100
1.2 +++ b/.hgignore Thu Feb 12 21:03:27 2009 +0100
1.3 @@ -2,5 +2,4 @@
1.4 java/HrisniciSpameri/build/*
1.5 java/HrisniciSpameri/web/HrisniciSpameri-src.zip
1.6 java/HrisniciSpameri/nbproject/private
1.7 -
1.8 -
1.9 +java/HrisniciSpameri/src/conf/MANIFEST.MF
2.1 --- a/java/HrisniciSpameri/build.xml Thu Feb 12 20:15:50 2009 +0100
2.2 +++ b/java/HrisniciSpameri/build.xml Thu Feb 12 21:03:27 2009 +0100
2.3 @@ -77,6 +77,32 @@
2.4
2.5 <zip basedir="../../.." excludes="HrisniciSpameri/.hg/** HrisniciSpameri/.hgignore HrisniciSpameri/java/HrisniciSpameri/build/** HrisniciSpameri/java/HrisniciSpameri/dist/** HrisniciSpameri/java/HrisniciSpameri/${zdrojaky-archiv-soubor} HrisniciSpameri/java/HrisniciSpameri/${zdrojaky-archiv-soubor}.${hashovani} HrisniciSpameri/licence/agpl-3.0.pdf HrisniciSpameri/licence/agpl-3.0.tex" includes="HrisniciSpameri/**" encoding="UTF-8" comment="${zdrojaky-archiv-komentar}" destfile="${zdrojaky-archiv-soubor}"/>
2.6 <checksum file="${zdrojaky-archiv-soubor}" algorithm="${hashovani}" pattern="{0} {1}"/>
2.7 +
2.8 + <manifest file="src/conf/MANIFEST.MF" mode="replace">
2.9 + <attribute name="Manifest-Version" value="1.0"/>
2.10 + <section name="Frantovo.cz">
2.11 + <attribute name="Kompiloval" value="${user.name}"/>
2.12 + <attribute name="java-version" value="${java.version}"/>
2.13 + <attribute name="java-vm-version" value="${java.vm.version}"/>
2.14 + <attribute name="os-name" value="${os.name}"/>
2.15 + <attribute name="os-arch" value="${os.arch}"/>
2.16 + <attribute name="os-version" value="${os.version}"/>
2.17 + </section>
2.18 + </manifest>
2.19 + </target>
2.20 +
2.21 + <target name="-post-dist">
2.22 + <manifest file="src/conf/MANIFEST.MF" mode="replace">
2.23 + <attribute name="Manifest-Version" value="1.0"/>
2.24 + <section name="Frantovo.cz">
2.25 + <attribute name="Kompiloval" value="..."/>
2.26 + <attribute name="java-version" value="..."/>
2.27 + <attribute name="java-vm-version" value="..."/>
2.28 + <attribute name="os-name" value="..."/>
2.29 + <attribute name="os-arch" value="..."/>
2.30 + <attribute name="os-version" value="..."/>
2.31 + </section>
2.32 + </manifest>
2.33 </target>
2.34
2.35 </project>
3.1 --- a/java/HrisniciSpameri/src/conf/MANIFEST.MF Thu Feb 12 20:15:50 2009 +0100
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,2 +0,0 @@
3.4 -Manifest-Version: 1.0
3.5 -
4.1 --- a/java/HrisniciSpameri/src/java/cz/frantovo/hrisniciSpameri/dao/HrisniciSuperDAO.java Thu Feb 12 20:15:50 2009 +0100
4.2 +++ b/java/HrisniciSpameri/src/java/cz/frantovo/hrisniciSpameri/dao/HrisniciSuperDAO.java Thu Feb 12 21:03:27 2009 +0100
4.3 @@ -25,7 +25,7 @@
4.4 try {
4.5 kontext = new InitialContext();
4.6 } catch (NamingException ex) {
4.7 - log.log(Level.SEVERE, "InitialContext problem", ex);
4.8 + log.log(Level.SEVERE, "Chyba při inicializaci kontextu", ex);
4.9 }
4.10 }
4.11