metametascape
Welcome, Guest
Please Login or Register.
Lost Password?
Problem running example (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: Problem running example

#116
miles (Admin)
Admin
Posts: 59
graph
Re:Problem running example 2008/02/15 18:17 Karma: 1  
lol...even the forum software won't take the escape sequence...should be

"as Windows uses [fwd slash] ..."

And on second thought, I don't think that a relative path will work -- the issue is that the first program argument is going right to repast and the whole point is that repast has no idea where you are invoking this from.

Eessh..wonder if it is time to bite the bullet and install XP or Vista on one of the Macs...anyone have an old unused XP or 2000 key they'd like to donate?

Post edited by: miles, at: 2008/02/15 18:24
  The administrator has disabled public write access.
#117
aero (User)
Junior Boarder
Posts: 7
graphgraph
Re:Problem running example 2008/02/15 19:07 Karma: 0  
Well, let's try this again. I think that launch file text got hosed up when i posted it. I've attached a text file that has the launch file. Should be easier to see what is happening!
File Attachment:
File name: launch.txt
File size:4277 bytes
  The administrator has disabled public write access.
#118
miles (Admin)
Admin
Posts: 59
graph
Re:Problem running example 2008/02/15 19:17 Karma: 1  
OK, perhaps there is a different escape for quotes we need...

<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value=""Cocuments and SettingsLyle WallisMy DocumentsEclipseUML Experimentsorg.example.repastDemographicPrisonersDilemma.rs" ${repast_home}/plugins/repast.simphony.runtime/"/>

or..

<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value=""C:/Documents and Settings/Lyle Wallis/My Documents/EclipseUML Experiments/org.example.repast/DemographicPrisonersDilemma.rs" ${repast_home}/plugins/repast.simphony.runtime/"/>
  The administrator has disabled public write access.
#119
miles (Admin)
Admin
Posts: 59
graph
Re:Problem running example 2008/02/15 19:17 Karma: 1  
lol, ok obviously there should be a fwd slash or a back slash (try backslash first) between each of those path arguments.

AND instead of the " character around the first path, you need,
Code:

 &quote;



Post edited by: miles, at: 2008/02/15 19:19

Post edited by: miles, at: 2008/02/15 19:20
  The administrator has disabled public write access.
#120
aero (User)
Junior Boarder
Posts: 7
graphgraph
Re:Problem running example 2008/02/15 19:36 Karma: 0  
OK, got it to work. Now I see that we needed a path in quotes inside a set of quotes. So, I used the " for the outside quotes and used " on the inside quotes. Works fine. A quirk of windows path names . . . .
  The administrator has disabled public write access.
#121
miles (Admin)
Admin
Posts: 59
graph
Re:Problem running example 2008/02/15 21:38 Karma: 1  
Great! And yeah..its not just Windows though..any time you need a quote in a dialog it has to be encoded for xml storage.

Now, I just need to fix this so that the default created launch script doesn't need to be hand edited for this case. I'll look into that usage and may ask you to test it when I have the update.
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
© Copyright 2007 Best of Joomla, Powered by FireBoardget the latest posts directly to your desktop