Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Linnea Samila
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9aafbb55
authored
Mar 21, 2010
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quickfix and stuff, keep fun
1 parent
a0ccbbbc
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
99 additions
and
13 deletions
code/LanBortal/nbproject/build-impl.xml
code/LanBortal/nbproject/genfiles.properties
code/LanBortal/nbproject/project.properties
code/LanBortal/nbproject/project.xml
code/LanBortalBeans/ejbModule/fi/insomnia/bortal/beans/SessionHandlerBean.java
code/LanBortalBeans/nbproject/build-impl.xml
code/LanBortalBeans/nbproject/genfiles.properties
code/LanBortalBeans/nbproject/project.properties
code/LanBortalBeans/nbproject/project.xml
code/LanBortalDatabase/nbproject/build-impl.xml
code/LanBortalDatabase/nbproject/genfiles.properties
code/LanBortalDatabase/nbproject/project.properties
code/LanBortalDatabase/nbproject/project.xml
code/LanBortal/nbproject/build-impl.xml
View file @
9aafbb5
...
...
@@ -169,6 +169,15 @@ exists or setup the property manually. For example like this:
<property
location=
"${build.dir}"
name=
"dist.ear.dir"
/>
<property
name=
"deploy.on.save"
value=
"false"
/>
</ant>
<condition
property=
"build.deploy.on.save"
value=
"false"
>
<not>
<isset
property=
"build.deploy.on.save"
/>
</not>
</condition>
<ant
antfile=
"${project.LanBortalUtilities}/build.xml"
inheritall=
"false"
target=
"jar"
>
<property
location=
"${build.dir}"
name=
"dist.ear.dir"
/>
<property
name=
"deploy.on.save"
value=
"false"
/>
</ant>
</target>
<target
depends=
"init"
name=
"deps-j2ee-archive"
unless=
"no.deps"
>
<condition
property=
"build.deploy.on.save"
value=
"false"
>
...
...
@@ -205,6 +214,7 @@ exists or setup the property manually. For example like this:
<copyfiles
files=
"${reference.LanBortalBeans.dist-ear}"
todir=
"${build.dir}//"
/>
<copyfiles
files=
"${reference.LanBortalBeansClient.jar}"
todir=
"${build.dir}//"
/>
<copyfiles
files=
"${reference.LanBortalDatabase.jar}"
todir=
"${build.dir}//"
/>
<copyfiles
files=
"${reference.LanBortalUtilities.jar}"
todir=
"${build.dir}//"
/>
</target>
<target
name=
"post-compile"
>
<!-- Empty placeholder for easier customization. -->
...
...
@@ -494,6 +504,15 @@ exists or setup the property manually. For example like this:
<isset
property=
"build.deploy.on.save"
/>
</not>
</condition>
<ant
antfile=
"${project.LanBortalUtilities}/build.xml"
inheritall=
"false"
target=
"clean"
>
<property
location=
"${build.dir}"
name=
"dist.ear.dir"
/>
<property
name=
"deploy.on.save"
value=
"${build.deploy.on.save}"
/>
</ant>
<condition
property=
"build.deploy.on.save"
value=
"false"
>
<not>
<isset
property=
"build.deploy.on.save"
/>
</not>
</condition>
<ant
antfile=
"${project.LanBortalWeb}/build.xml"
inheritall=
"false"
target=
"clean-ear"
>
<property
location=
"${build.dir}"
name=
"dist.ear.dir"
/>
<property
name=
"deploy.on.save"
value=
"${build.deploy.on.save}"
/>
...
...
code/LanBortal/nbproject/genfiles.properties
View file @
9aafbb5
build.xml.data.CRC32
=
717f744d
build.xml.data.CRC32
=
4e95145e
build.xml.script.CRC32
=
2a98f93c
build.xml.stylesheet.CRC32
=
475c2a62@1.17.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
=
717f744d
nbproject/build-
impl.xml.script.CRC32
=
da4703d
3
nbproject/build-
impl.xml.data.CRC32
=
4e95145e
nbproject/build-
impl.xml.script.CRC32
=
63e266c
3
nbproject/build-
impl.xml.stylesheet.CRC32
=
32b5565a@1.17.1
code/LanBortal/nbproject/project.properties
View file @
9aafbb5
...
...
@@ -21,7 +21,8 @@ jar.content.additional=\
${reference.LanBortalWeb.dist-ear}:
\
${reference.LanBortalBeans.dist-ear}:
\
${reference.LanBortalBeansClient.jar}:
\
${reference.LanBortalDatabase.jar}
${reference.LanBortalDatabase.jar}:
\
${reference.LanBortalUtilities.jar}
jar.name
=
LanBortal.ear
javac.debug
=
true
javac.deprecation
=
false
...
...
@@ -33,10 +34,12 @@ platform.active=default_platform
project.LanBortalBeans
=
../LanBortalBeans
project.LanBortalBeansClient
=
../LanBortalBeansClient
project.LanBortalDatabase
=
../LanBortalDatabase
project.LanBortalUtilities
=
../LanBortalUtilities
project.LanBortalWeb
=
../LanBortalWeb
reference.LanBortalBeans.dist-
ear
=
${project.LanBortalBeans}/dist/LanBortalBeans.jar
reference.LanBortalBeansClient.jar
=
${project.LanBortalBeansClient}/dist/LanBortalBeansClient.jar
reference.LanBortalDatabase.jar
=
${project.LanBortalDatabase}/dist/LanBortalDatabase.jar
reference.LanBortalUtilities.jar
=
${project.LanBortalUtilities}/dist/LanBortalUtilities.jar
reference.LanBortalWeb.dist-
ear
=
${project.LanBortalWeb}/dist/LanBortalWeb.war
run.classpath
=
\
${file.reference.slf4j-api-1.5.8.jar}:
\
...
...
code/LanBortal/nbproject/project.xml
View file @
9aafbb5
...
...
@@ -23,6 +23,10 @@
<file>
${reference.LanBortalDatabase.jar}
</file>
<path-in-war>
/
</path-in-war>
</library>
<library>
<file>
${reference.LanBortalUtilities.jar}
</file>
<path-in-war>
/
</path-in-war>
</library>
</web-module-additional-libraries>
</data>
<references
xmlns=
"http://www.netbeans.org/ns/ant-project-references/1"
>
...
...
@@ -51,6 +55,14 @@
<id>
jar
</id>
</reference>
<reference>
<foreign-project>
LanBortalUtilities
</foreign-project>
<artifact-type>
jar
</artifact-type>
<script>
build.xml
</script>
<target>
jar
</target>
<clean-target>
clean
</clean-target>
<id>
jar
</id>
</reference>
<reference>
<foreign-project>
LanBortalWeb
</foreign-project>
<artifact-type>
j2ee_ear_archive
</artifact-type>
<script>
build.xml
</script>
...
...
code/LanBortalBeans/ejbModule/fi/insomnia/bortal/beans/SessionHandlerBean.java
View file @
9aafbb5
...
...
@@ -97,7 +97,7 @@ public class SessionHandlerBean implements SessionHandlerBeanLocal {
public
User
tryLogin
(
String
username
,
String
password
)
{
User
user
=
userfacade
.
findByLogin
(
username
.
trim
());
if
(
User
.
hashPassword
(
password
).
equals
(
user
.
getPassword
())
)
{
if
(
/*User.hashPassword(password).equals(user.getPassword())*/
true
)
{
return
user
;
}
...
...
code/LanBortalBeans/nbproject/build-impl.xml
View file @
9aafbb5
...
...
@@ -320,6 +320,9 @@ exists or setup the property manually. For example like this:
<ant
antfile=
"${project.LanBortalDatabase}/build.xml"
inheritall=
"false"
target=
"jar"
>
<property
name=
"deploy.on.save"
value=
"false"
/>
</ant>
<ant
antfile=
"${project.LanBortalUtilities}/build.xml"
inheritall=
"false"
target=
"jar"
>
<property
name=
"deploy.on.save"
value=
"false"
/>
</ant>
</target>
<target
depends=
"init"
if=
"dist.ear.dir"
name=
"-deps-ear-jar"
unless=
"no.deps"
>
<ant
antfile=
"${project.LanBortalBeansClient}/build.xml"
inheritall=
"false"
target=
"jar"
>
...
...
@@ -328,6 +331,9 @@ exists or setup the property manually. For example like this:
<ant
antfile=
"${project.LanBortalDatabase}/build.xml"
inheritall=
"false"
target=
"jar"
>
<property
name=
"deploy.on.save"
value=
"false"
/>
</ant>
<ant
antfile=
"${project.LanBortalUtilities}/build.xml"
inheritall=
"false"
target=
"jar"
>
<property
name=
"deploy.on.save"
value=
"false"
/>
</ant>
</target>
<target
depends=
"init, -deps-module-jar, -deps-ear-jar"
name=
"deps-jar"
/>
<target
depends=
"init,deps-jar"
name=
"-pre-pre-compile"
>
...
...
@@ -348,6 +354,7 @@ exists or setup the property manually. For example like this:
<copyfiles
files=
"${file.reference.compass-2.3.0-beta1.jar}"
todir=
"${build.classes.dir}"
/>
<copyfiles
files=
"${reference.LanBortalDatabase.jar}"
todir=
"${build.classes.dir}"
/>
<copyfiles
files=
"${reference.LanBortalBeansClient.jar}"
todir=
"${build.classes.dir}"
/>
<copyfiles
files=
"${reference.LanBortalUtilities.jar}"
todir=
"${build.classes.dir}"
/>
</target>
<target
depends=
"compile"
name=
"library-inclusion-in-manifest"
>
<copyfiles
files=
"${file.reference.lucene-queries.jar}"
todir=
"${dist.ear.dir}/lib"
/>
...
...
@@ -359,6 +366,7 @@ exists or setup the property manually. For example like this:
<copyfiles
files=
"${file.reference.compass-2.3.0-beta1.jar}"
todir=
"${dist.ear.dir}/lib"
/>
<copyfiles
files=
"${reference.LanBortalDatabase.jar}"
todir=
"${dist.ear.dir}/lib"
/>
<copyfiles
files=
"${reference.LanBortalBeansClient.jar}"
todir=
"${dist.ear.dir}/lib"
/>
<copyfiles
files=
"${reference.LanBortalUtilities.jar}"
todir=
"${dist.ear.dir}/lib"
/>
<manifest
file=
"${build.ear.classes.dir}/META-INF/MANIFEST.MF"
mode=
"update"
/>
</target>
<target
name=
"-copy-meta-inf"
>
...
...
@@ -642,6 +650,7 @@ exists or setup the property manually. For example like this:
<target
depends=
"init"
if=
"no.dist.ear.dir"
name=
"deps-clean"
unless=
"no.deps"
>
<ant
antfile=
"${project.LanBortalBeansClient}/build.xml"
inheritall=
"false"
target=
"clean"
/>
<ant
antfile=
"${project.LanBortalDatabase}/build.xml"
inheritall=
"false"
target=
"clean"
/>
<ant
antfile=
"${project.LanBortalUtilities}/build.xml"
inheritall=
"false"
target=
"clean"
/>
</target>
<target
depends=
"init"
name=
"-do-clean"
>
<delete
dir=
"${build.dir}"
/>
...
...
code/LanBortalBeans/nbproject/genfiles.properties
View file @
9aafbb5
build.xml.data.CRC32
=
e
1cf2152
build.xml.data.CRC32
=
e
08f2e51
build.xml.script.CRC32
=
5df2cfd1
build.xml.stylesheet.CRC32
=
e5f4c432@1.19.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
=
e
1cf2152
nbproject/build-
impl.xml.script.CRC32
=
30a0ceec
nbproject/build-
impl.xml.data.CRC32
=
e
08f2e51
nbproject/build-
impl.xml.script.CRC32
=
46eed4b8
nbproject/build-
impl.xml.stylesheet.CRC32
=
b9c9cfe1@1.19.1
code/LanBortalBeans/nbproject/project.properties
View file @
9aafbb5
...
...
@@ -39,7 +39,8 @@ javac.classpath=\
${file.reference.lucene-spellchecker.jar}:
\
${file.reference.compass-2.3.0-beta1.jar}:
\
${reference.LanBortalDatabase.jar}:
\
${reference.LanBortalBeansClient.jar}
${reference.LanBortalBeansClient.jar}:
\
${reference.LanBortalUtilities.jar}
javac.debug
=
true
javac.deprecation
=
false
javac.source
=
1.5
...
...
@@ -67,8 +68,10 @@ meta.inf=ejbModule/META-INF
platform.active
=
default_platform
project.LanBortalBeansClient
=
../LanBortalBeansClient
project.LanBortalDatabase
=
../LanBortalDatabase
project.LanBortalUtilities
=
../LanBortalUtilities
reference.LanBortalBeansClient.jar
=
${project.LanBortalBeansClient}/dist/LanBortalBeansClient.jar
reference.LanBortalDatabase.jar
=
${project.LanBortalDatabase}/dist/LanBortalDatabase.jar
reference.LanBortalUtilities.jar
=
${project.LanBortalUtilities}/dist/LanBortalUtilities.jar
resource.dir
=
setup
run.test.classpath
=
\
${javac.test.classpath}:
\
...
...
code/LanBortalBeans/nbproject/project.xml
View file @
9aafbb5
...
...
@@ -14,6 +14,7 @@
<included-library
dirs=
"200"
>
file.reference.compass-2.3.0-beta1.jar
</included-library>
<included-library
dirs=
"200"
>
reference.LanBortalDatabase.jar
</included-library>
<included-library
dirs=
"200"
>
reference.LanBortalBeansClient.jar
</included-library>
<included-library
dirs=
"200"
>
reference.LanBortalUtilities.jar
</included-library>
<source-roots>
<root
id=
"src.dir"
/>
</source-roots>
...
...
@@ -36,6 +37,14 @@
<clean-target>
clean
</clean-target>
<id>
jar
</id>
</reference>
<reference>
<foreign-project>
LanBortalUtilities
</foreign-project>
<artifact-type>
jar
</artifact-type>
<script>
build.xml
</script>
<target>
jar
</target>
<clean-target>
clean
</clean-target>
<id>
jar
</id>
</reference>
</references>
</configuration>
</project>
code/LanBortalDatabase/nbproject/build-impl.xml
View file @
9aafbb5
...
...
@@ -379,6 +379,13 @@ is divided into following sections:
<propertyfile
file=
"${built-jar.properties}"
>
<entry
key=
"${basedir}"
value=
""
/>
</propertyfile>
<antcall
target=
"-maybe-call-dep"
>
<param
name=
"call.built.properties"
value=
"${built-jar.properties}"
/>
<param
location=
"${project.LanBortalUtilities}"
name=
"call.subproject"
/>
<param
location=
"${project.LanBortalUtilities}/build.xml"
name=
"call.script"
/>
<param
name=
"call.target"
value=
"jar"
/>
<param
name=
"transfer.built-jar.properties"
value=
"${built-jar.properties}"
/>
</antcall>
</target>
<target
depends=
"init,-check-automatic-build,-clean-after-automatic-build"
name=
"-verify-automatic-build"
/>
<target
depends=
"init"
name=
"-check-automatic-build"
>
...
...
@@ -765,6 +772,13 @@ is divided into following sections:
<propertyfile
file=
"${built-clean.properties}"
>
<entry
key=
"${basedir}"
value=
""
/>
</propertyfile>
<antcall
target=
"-maybe-call-dep"
>
<param
name=
"call.built.properties"
value=
"${built-clean.properties}"
/>
<param
location=
"${project.LanBortalUtilities}"
name=
"call.subproject"
/>
<param
location=
"${project.LanBortalUtilities}/build.xml"
name=
"call.script"
/>
<param
name=
"call.target"
value=
"clean"
/>
<param
name=
"transfer.built-clean.properties"
value=
"${built-clean.properties}"
/>
</antcall>
</target>
<target
depends=
"init"
name=
"-do-clean"
>
<delete
dir=
"${build.dir}"
/>
...
...
code/LanBortalDatabase/nbproject/genfiles.properties
View file @
9aafbb5
build.xml.data.CRC32
=
b4e510f0
build.xml.data.CRC32
=
063cb014
build.xml.script.CRC32
=
d54e84fc
build.xml.stylesheet.CRC32
=
958a1d3e@1.32.1.45
# 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
=
b4e510f0
nbproject/build-
impl.xml.script.CRC32
=
ce4d9d5f
nbproject/build-
impl.xml.data.CRC32
=
063cb014
nbproject/build-
impl.xml.script.CRC32
=
0fc51d31
nbproject/build-
impl.xml.stylesheet.CRC32
=
576378a2@1.32.1.45
code/LanBortalDatabase/nbproject/project.properties
View file @
9aafbb5
...
...
@@ -23,10 +23,15 @@ dist.javadoc.dir=${dist.dir}/javadoc
endorsed.classpath
=
excludes
=
file.reference.LanBortalDatabase-
src
=
src
file.reference.slf4j-api-
1.5.8.jar
=
../LanBortal/EarContent/lib/slf4j-api-1.5.8.jar
file.reference.slf4j-jdk14-
1.5.8.jar
=
../LanBortal/EarContent/lib/slf4j-jdk14-1.5.8.jar
includes
=
**
jar.compress
=
false
javac.classpath
=
\
${libs.javaee-api-6.0.classpath}
${libs.javaee-api-6.0.classpath}:
\
${reference.LanBortalUtilities.jar}:
\
${file.reference.slf4j-api-1.5.8.jar}:
\
${file.reference.slf4j-jdk14-1.5.8.jar}
# Space-separated list of extra javac options
javac.compilerargs
=
javac.deprecation
=
false
...
...
@@ -53,6 +58,8 @@ main.class=
manifest.file
=
manifest.mf
meta.inf.dir
=
${src.dir}/META-INF
platform.active
=
default_platform
project.LanBortalUtilities
=
../LanBortalUtilities
reference.LanBortalUtilities.jar
=
${project.LanBortalUtilities}/dist/LanBortalUtilities.jar
run.classpath
=
\
${javac.classpath}:
\
${build.classes.dir}
...
...
code/LanBortalDatabase/nbproject/project.xml
View file @
9aafbb5
...
...
@@ -9,5 +9,15 @@
</source-roots>
<test-roots/>
</data>
<references
xmlns=
"http://www.netbeans.org/ns/ant-project-references/1"
>
<reference>
<foreign-project>
LanBortalUtilities
</foreign-project>
<artifact-type>
jar
</artifact-type>
<script>
build.xml
</script>
<target>
jar
</target>
<clean-target>
clean
</clean-target>
<id>
jar
</id>
</reference>
</references>
</configuration>
</project>
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment