This site requires JavaScript, please enable it in your browser!
Greenfoot back
Fibley
Fibley wrote ...

2019/2/6

Greenfoot default scenario path

Fibley Fibley

2019/2/6

#
Hi All, I'm hoping someone here can help me out. I am planning on pushing out Greenfoot 3.5.3 to our IT rooms, however I seem to be having an issue with configuring the default scenario path. As the current default is located with the C drive this can be an issue within our environment. I have searched all over this forum and the net and the only post that's came close to what I'm looking for is https://www.greenfoot.org/topics/2059/0#post_13055 but the solution here doesn't seem to bring any luck for me. I've looked through both buej.defs and greenfoot.defs but cant seem to find whats needed. I initially thought that changing bluej.userHome would do the job but apparently not. Any help would be greatly appreciated! Thanks!
nccb nccb

2019/2/7

#
Greenfoot remembers the last location to open/create projects, using the bluej.projectPath setting. This is stored in each user's greenfoot.properties, but you can effectively set an initial value for this property for all users by adding it to your greenfoot.defs, e.g.
bluej.projectPath=N:/network_path
This won't prevent users later trying to open/save to other locations but it will give them a nudge towards the right location.
Fibley Fibley

2019/2/7

#
nccb wrote...
Greenfoot remembers the last location to open/create projects, using the bluej.projectPath setting. This is stored in each user's greenfoot.properties, but you can effectively set an initial value for this property for all users by adding it to your greenfoot.defs, e.g.
bluej.projectPath=N:/network_path
This won't prevent users later trying to open/save to other locations but it will give them a nudge towards the right location.
Nice one! This is exactly what I was looking for. Thanks for the fast response!
You need to login to post a reply.