openplans/OpenTripPlanner — Issue #600: graph-builder.xml problems
Author: mkarakum
Created: 2012-02-05 00:22:26+00:00
State: open

Hi All,

I m a newbie and trying to go thru the installation steps and run the software. I am stuck on building the graph section.
I run windows 7 and Eclipse. and I get the following error when I perform the run configurations on eclipse.

Here is what I have put in per the instructions, ( I know I am doing something wrong).

Under Program Arguments, I have put in this text

C:/Users/m/git/OpenTripPlanner

Under VM Arguments, I have put in this text
-Xmx2048m

I get the following message on the console.
________________________________________________________________________________________________
2012-02-04 15:54:05,146 INFO [XmlBeanDefinitionReader.java:315] : Loading XML bean definitions from class path resource [org/opentripplanner/graph_builder/application-context.xml]
2012-02-04 15:54:06,051 INFO [XmlBeanDefinitionReader.java:315] : Loading XML bean definitions from file [C:\Users\m\git\OpenTripPlanner]
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [C:\Users\m\git\OpenTripPlanner]; nested exception is java.io.FileNotFoundException: C:\Users\m\git\OpenTripPlanner (Access is denied)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.opentripplanner.graph_builder.GraphBuilderMain.createContext(GraphBuilderMain.java:66)
at org.opentripplanner.graph_builder.GraphBuilderMain.main(GraphBuilderMain.java:47)
Caused by: java.io.FileNotFoundException: C:\Users\m\git\OpenTripPlanner (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:110)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
... 3 more
Picked up _JAVA_OPTIONS: -Xmx512M
_________________________________________________________________________________________________

This is the graph-builder.xml file

_________________________________________________________________________________________________

_________________________________________________________________________________________________

I really appreciate any help on this.
Thank you!!

Murat..