[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-6809) The generated Ant script for Hibernate Code Generation contains absulute paths -> the paths should be relative

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Thu Aug 12 11:54:49 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-6809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitali Yemialyanchyk updated JBIDE-6809:
----------------------------------------

    Attachment: screenshot-2.jpg


screenshot-2 - sketch of generated file with relative dirs (some path strings were deleted to show the whole file look)

> The generated Ant script for Hibernate Code Generation contains absulute paths -> the paths should be relative
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-6809
>                 URL: https://jira.jboss.org/browse/JBIDE-6809
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: Hibernate
>    Affects Versions: 3.2.0.M2
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Vitali Yemialyanchyk
>            Priority: Minor
>             Fix For: 3.2.0.M2
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> All paths which is possible to make relative -> should be relative to the place of generated Ant script file. Here is simple example:
> Path list:
> C:\workspace\PrjA\bin
> C:\workspace\PrjA\lib\x1.jar
> C:\workspace\PrjA\lib\x2.jar
> C:\workspace\PrjB\build\classes
> C:\workspace\PrjB\lib\y1.jar
> C:\workspace\PrjB\lib2\y2.jar
> D:\user\alex\PrjC\z1.jar
> D:\user\alex\PrjC\lib\z2.jar
> C:\user\bob\PrjD\lib\z3.jar
> A:\bin\mysql\driver.jar
> Buildfile is in C:\workspace\PrjA\src\someth
> Variable and adjusted list:
> var := " C:\workspace\PrjA\src\someth"
> {$var}\..\..\bin
> {$var}\..\..\lib\x1.jar
> {$var}\..\..\lib\x2.jar
> {$var}\..\..\..\PrjB\build\classes
> {$var}\..\..\..\PrjB\lib\y1.jar
> {$var}\..\..\..\PrjB\lib2\y2.jar
> D:\user\alex\PrjC\z1.jar
> D:\user\alex\PrjC\lib\z2.jar
> C:\user\bob\PrjD\lib\z3.jar
> A:\bin\mysql\driver.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list