[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-1527) Ant clean target subtask deletes current working directory files (including build.xml)
Diego Pires Plentz (JIRA)
noreply at atlassian.com
Tue Aug 14 17:36:13 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Pires Plentz resolved HHH-1527.
-------------------------------------
Assignee: Diego Pires Plentz
Resolution: Fixed
Migration to Maven solve this.
> Ant clean target subtask deletes current working directory files (including build.xml)
> --------------------------------------------------------------------------------------
>
> Key: HHH-1527
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1527
> Project: Hibernate3
> Issue Type: Bug
> Components: build
> Affects Versions: 3.1.2
> Environment: Hibernate Core 3.1.2, any platform
> Reporter: Allen Gates
> Assignee: Diego Pires Plentz
>
> The Ant build.xml clean target contains a subtask:
> <delete dir="${dist.dir}"/>
> where dist.dir is defined
> <property name="dist.dir" value="../${name}-${version.sansPatchLevel}"/>
> Unfortunately, that resolves to precisely the the current directory (i.e. named hibernate-3.1)
> from which ant clean is run, thus deleting build.xml and other files. This is obviously undesirable.
> I found this in conjunction with running a standalone Ant build of Hibernate, while working on
> a patch for Configuration.java to restrict table retrieval to only hibernate.default_schema ;)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list