[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-539) Add in support for enterprisedb
by gregorypierce (JIRA)
Add in support for enterprisedb
-------------------------------
Key: JBSEAM-539
URL: http://jira.jboss.com/jira/browse/JBSEAM-539
Project: JBoss Seam
Issue Type: Feature Request
Components: Tools
Affects Versions: 1.1.0.CR1
Reporter: gregorypierce
EnterpriseDB is a Postgres dialect database with coolness in tools and support.
The following conditions, when put in the appropriate locations, will give you support for this database out of the box.
<property name="database.type.default" value="hsql"/>
<input addproperty="database.type.new"
message="What kind of database are you using? [${database.type.default}] "
validargs="hsql,mysql,oracle,postgres,mssql,db2,sybase,enterprisedb"
defaultvalue="${database.type.default}"/>
<condition property="hibernate.dialect.default" value="org.hibernate.dialect.PostgreSQLDialect">
<equals arg1="${database.type.new}" arg2="enterprisedb"/>
</condition>
<condition property="hibernate.connection.driver_class.default" value="com.edb.Driver">
<equals arg1="${database.type.new}" arg2="enterprisedb"/>
</condition>
<condition property="hibernate.connection.url.default" value="jdbc:edb://localhost:5444/edb">
<equals arg1="${database.type.new}" arg2="enterprisedb"/>
</condition>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-531) Add debug project ant task (ide action) in the seam-gen generated project in Netbeans
by Wayne Zhang (JIRA)
Add debug project ant task (ide action) in the seam-gen generated project in Netbeans
-------------------------------------------------------------------------------------
Key: JBSEAM-531
URL: http://jira.jboss.com/jira/browse/JBSEAM-531
Project: JBoss Seam
Issue Type: Feature Request
Affects Versions: 1.1.0.CR1
Environment: ALL
Reporter: Wayne Zhang
Fix For: 1.1.0.GA
It's better to add a DEBUG PROJECT in the seam-gen generated Netbeans project. I have do some experimental work and it works, as following:
1. change build.xml script in seam-gen package, adding the following lines after copy "project.xml" task (line 392)
<copy tofile="${project.home}/nbproject/ide-file-targets.xml"
file="${basedir}/nbproject/ide-file-targets.xml">
<filterset refid="project"/>
</copy>
<copy tofile="${project.home}/nbproject/debug-jboss.properties"
file="${basedir}/nbproject/debug-jboss.properties"/>
2. Change seam-gen/nbproject/project.xml template, add a debug ide <action> and <context-menu> (line 35)
<action name="debug">
<script>nbproject/ide-file-targets.xml</script>
<target>debug-nb</target>
</action>
3. add a template ant script file "ide-file-targets.xml" contains the debug target in seam-gen/nbproject, content as following:
<?xml version="1.0" encoding="UTF-8"?>
<project basedir=".." name="@projectName@-IDE">
<property file="nbproject/debug-jboss.properties"/>
<target name="debug-nb">
<nbjpdaconnect name="@projectName@" host="${jpda.host}" address="${jpda.address}" transport="${jpda.transport}">
<!--classpath>
<path path="${debug.classpath}"/>
</classpath>
<sourcepath>
<path path="${ear.docbase.dirs}"/>
</sourcepath-->
</nbjpdaconnect>
</target>
</project>
4. add a JBoss related properties "debug-jboss.properties" file in seam-gen/nbproject, content:
# JBoss server related settings
# Edit the following parameter according to your JBoss configuration
jpda.host=localhost
jpda.address=8787
jpda.transport=dt_socket
ALSO:
The source code template should be formated, it is mixed tab and spaces, which will be not well formated if tab is not 8.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-543) seam-gen "war" Target Corrupts /WEB-INF/lib JAR Files
by James Williams (JIRA)
seam-gen "war" Target Corrupts /WEB-INF/lib JAR Files
-----------------------------------------------------
Key: JBSEAM-543
URL: http://jira.jboss.com/jira/browse/JBSEAM-543
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 1.1.0.CR2
Environment: Fedora Core 6.
Reporter: James Williams
Priority: Minor
Fix For: 1.1.0.GA
Testing the "seam explode restart" command. This is reproducible by adding jars to the /resources/WEB-INF/lib directory. Those jars will be corrupted when copied in the "war" target. Script changed in CVS to fix this issue. This is only an issue when the developer puts jars in /resources/WEB-INF/lib, which is not necessarily the best place to put additional jars. Ideally, the developer will put them in /lib and edit the "war" target to include them. Or, better yet, create a new lib folder that the "war" target will always pull jars from.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months