[
http://jira.codehaus.org/browse/MHIBERNATE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122526
]
Johann Reyes commented on MHIBERNATE-66:
----------------------------------------
I have researched the issue, and it's not the plugin that is trimming the
leading and ending whitespace. It's maven. But i got it working with something
like this:
{code:xml}
<delimiter>-- End Line
go</delimiter>
{code}
or something like this:
{code:xml}
<delimiter>;
go;</delimiter>
{code}
> delimiter property whitespace trimmed making it unusable
> --------------------------------------------------------
>
> Key: MHIBERNATE-66
> URL: http://jira.codehaus.org/browse/MHIBERNATE-66
> Project: Maven 2.x Hibernate Plugin
> Issue Type: Bug
> Components: hbm2ddl
> Affects Versions: 2.0-alpha-2
> Environment: Maven 2.0.8 JDK 1.5
> Reporter: ajbanck
> Assignee: Johann Reyes
>
> When using a delimiter, the whitespace is trimmed off.
> Definition:
> <configuration>
> <componentProperties>
> <delimiter>
> go</delimiter>
> When running this from Maven the output is:
> drop table TB_ACEgo
> drop table TB_ACLgo
> drop table TB_FAVORITEgo
> Output should be:
> drop table TB_ACE
> go
> drop table TB_ACL
> go
> drop table TB_FAVORITE
> go
> However if only spaces where possible and not returns it would make it work.
> Using the Hibernate Ant tool whitespace is added to the output as expected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email