Menu

#15 Dep4e resources cannot be found in build.xml

2015.05.0
closed
nobody
None
2015-05-02
2014-10-27
No

Hi
I have installed Dep4e (2014.8.0) in Eclipse (Version: Kepler Service Release 2 Build id: 20140224-0627). I can create a new Docbook Project and all is created as in the documentation but in the build.xml file the '${net.sourceforge.dep4e.resources}' does not resolve and thus I am getting an error 'Cannot find E:\xampp\htdocs\DocBook\${net.sourceforge.dep4e.resources}\ant\docbook_5-0.xml imported from E:\xampp\htdocs\DocBook\build.xml'.

Because of this the Ant build fails.

Is there something else I need to do to resolve this variable?

Thanks

Discussion

  • Nils Cordes

    Nils Cordes - 2014-10-28

    Hhmm, that is a strange behavior of your Eclipse installation.
    Normally Eclipse should resolve the Ant property (see attached Screenshot).

     
  • Component Architect

    I deleted my Eclipse installation completely and downloaded the latest Eclipse Luna and then retried the install of Dep4e. Again it installs but I have checked the Ant properties and it has no value for the net.sourceforge.dep4e.resources entry (see screenshot). So it is not being resolved.
    As you can see the 'Edit property' is greyed out so I cannot even manually enter the 'Value'.
    This is on a Windows 7 system. I have tried this with running Eclipse 'Run as administrator'.
    Any suggestion how I can get the Ant properties loaded?
    Is there a file I can manually edit?
    What should be the 'Values' for the dep4e properties?

    Thanks for your assistance
    Brian

     
  • Nils Cordes

    Nils Cordes - 2014-10-29

    Maybe you have a white space character in your path to ${ECLIPSE_HOME} or to ${WORKSPACE_LOCATION}?
    If so Eclipse (Java) is going to fail during conversion URI to Path or Path to URI to resolve the Ant property.
    Currently your path to ${ECLIPSE_HOME} is "C:\Program Files\Eclipse". So it contains space. Try to change to path to "C:\Eclipse" for example.

     
  • Component Architect

    Thanks, that solved it. Moved Eclipse to 'c:\Programs\Eclipse' and it worked first time.
    Didn't even need to re-install Dep4e.

    As with a lot of things - simple when you know how!

     
  • Nils Cordes

    Nils Cordes - 2015-04-27
    • status: open --> closed
     

Log in to post a comment.