[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3087) seam-gen generated build.xml file enforces jboss.home to be set

Jacek Laskowski (JIRA) jira-events at lists.jboss.org
Sun Jun 8 10:59:48 EDT 2008


seam-gen generated build.xml file enforces jboss.home to be set
---------------------------------------------------------------

                 Key: JBSEAM-3087
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-3087
             Project: Seam
          Issue Type: Bug
          Components: Build
    Affects Versions: 2.0.2.SP1
            Reporter: Jacek Laskowski


When a project is generated with seam-gen build.xml checks whether jboss.home property is set. If it's not the build fails. It should be optional and most JBoss-specific deployment files should be deployed only when JBoss is really used, e.g.

{code}
	<target name="datasource">
		<fail unless="jboss.home">jboss.home not set</fail>
		<copy todir="${deploy.dir}">
			<fileset dir="${basedir}/resources">
				<include name="${project.name}-${profile}-ds.xml" />
			</fileset>
		</copy>
	</target>
{code}


-- 
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

        



More information about the seam-issues mailing list