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

Dan Allen (JIRA) jira-events at lists.jboss.org
Sun Jun 8 13:25:48 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-3087?page=comments#action_12415972 ] 
            
Dan Allen commented on JBSEAM-3087:
-----------------------------------

For right now this is reasonable since seam-gen can only deploy to JBoss out of the box. I am working on support for Glassfish, which will require glassfish.home to be set when using those targets. Thus, it is expecting that the home of whatever your target server is will be required. If you want to tweak the build file after creating the project, you are free to do so.

Pete, can you decide how to classify this issue (either link it to the glassfish initiative or mark it as won't fix).

> 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