Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.6, 0.7
-
None
-
None
-
eclipse 3.0.2, Forrest 0.7
Description
I could export the plugin to eclipse. The 'seed' and 'new xdoc' option for the site menuitem worked. However, Trying, to run the forrest xdoc files in server, gives error......
First, eclipse forrest plugin asks the preferences for forrest home to be set for the plugin.
Now if we set c:\forrest as the Forrest Home, it can locate the forrest.build.xml, but then gives the following error from the server:
CASE 1: If we set FORREST_HOME=C:\forrest in preferences and the FORREST_HOME variable in cmd shell:
==>
C:\forrest\main\forrest.build.xml:63: C:\forrest\main\"C:\forrest"\lib\core
not found.
at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileS
et.java:342)
at org.apache.tools.ant.types.Path.list(Path.java:331)
CASE 2: To avoid the above problem, left the cmd line setting blank.
However, this also gives error. Error when FORREST_HOME is left blank in cmd shell, but set as c:\forrest in the preferences ==>
C:\forrest\main\forrest.build.xml:63:
C:\forrest\main\{$env.FORREST_HOME}"\lib\core not found.
at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileS
et.java:342)
at org.apache.tools.ant.types.Path.list(Path.java:331)
============================
First, eclipse forrest plugin asks the preferences for forrest home to be set for the plugin.
Now if we set c:\forrest as the Forrest Home, it can locate the forrest.build.xml, but then gives the following error from the server:
CASE 1: If we set FORREST_HOME=C:\forrest in preferences and the FORREST_HOME variable in cmd shell:
==>
C:\forrest\main\forrest.build.xml:63: C:\forrest\main\"C:\forrest"\lib\core
not found.
at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileS
et.java:342)
at org.apache.tools.ant.types.Path.list(Path.java:331)
CASE 2: To avoid the above problem, left the cmd line setting blank.
However, this also gives error. Error when FORREST_HOME is left blank in cmd shell, but set as c:\forrest in the preferences ==>
C:\forrest\main\forrest.build.xml:63:
C:\forrest\main\{$env.FORREST_HOME}"\lib\core not found.
at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileS
et.java:342)
at org.apache.tools.ant.types.Path.list(Path.java:331)
============================