Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Antti Väyrynen
/
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 18cd85fc
authored
Feb 28, 2014
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bootstrapstuff
1 parent
775eeb93
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
24 deletions
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/BootstrapBean.java
code/MoyaEar/EarContent/META-INF/application.xml
code/MoyaBeans/ejbModule/fi/codecrew/moya/beans/BootstrapBean.java
View file @
18cd85f
...
@@ -35,6 +35,9 @@ public class BootstrapBean implements BootstrapBeanLocal {
...
@@ -35,6 +35,9 @@ public class BootstrapBean implements BootstrapBeanLocal {
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE site_page_content ADD COLUMN locale varchar(10)"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE site_page_content ADD COLUMN locale varchar(10)"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE products ALTER COLUMN vat TYPE NUMERIC(4,3)"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE products ALTER COLUMN vat TYPE NUMERIC(4,3)"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE actionlog_messages DROP COLUMN crew"
});
dbUpdates
.
add
(
new
String
[]
{
"ALTER TABLE actionlog_messages DROP COLUMN crew"
});
dbUpdates
.
add
(
new
String
[]
{
"delete from application_permissions where application ilike '%terminal%'"
});
}
}
@EJB
@EJB
...
...
code/MoyaEar/EarContent/META-INF/application.xml
View file @
18cd85f
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<application
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation=
"http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd"
version=
"7"
>
<application
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation=
"http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/application_7.xsd"
version=
"7"
>
<display-name>
moya-ear
</display-name>
<display-name>
moya-ear
</display-name>
<module>
<module>
<ejb>
moya-beans-0.2.0.jar
</ejb>
<ejb>
moya-beans-0.2.0.jar
</ejb>
</module>
</module>
<module>
<module>
<web>
<web>
<web-uri>
moya-web-0.2.0.war
</web-uri>
<web-uri>
moya-web-0.2.0.war
</web-uri>
<context-root>
/MoyaWeb
</context-root>
<context-root>
/MoyaWeb
</context-root>
</web>
</web>
</module>
</module>
<module>
<module>
<web>
<web>
<web-uri>
moya-mgmt-web-0.2.0.war
</web-uri>
<web-uri>
moya-mgmt-web-0.2.0.war
</web-uri>
<context-root>
/EventMgmt
</context-root>
<context-root>
/EventMgmt
</context-root>
</web>
</web>
</module>
</module>
<module>
<web>
<web-uri>
moya-terminal-web-0.2.0.war
</web-uri>
<context-root>
/MoyaTerminalWeb
</context-root>
</web>
</module>
<library-directory>
lib
</library-directory>
<module>
<web>
<web-uri>
moya-terminal-web-0.2.0.war
</web-uri>
<context-root>
/MoyaTerminalWeb
</context-root>
</web>
</module>
<library-directory>
lib
</library-directory>
</application>
</application>
\ No newline at end of file
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