Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: decide new project location

$
0
0
Re: decide new project location
Web Connection
Re: decide new project location
Jul. 18, 2013
08:31 am
3U20IA69NShow this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:FoxInCloud support
I'd like to but honestly no.

We had actually had this feature in the past and it caused all sorts of problems for people because they didn't have their paths set right. It just makes the first time startup process much more error prone and that makes for a bad first impression if things don't work. I decided long ago it's better to have it work first time and then have to manually move files (and once you understand how things work at that point) once it's running than taking a chance on putting files else where and requiring manual or hardcoded configuration of paths.

All the operations that Web Connections performs during setup are programmatically available so you can create a custom installer that puts things where you want them to if you like.

What are you trying to accomplish? If this is for FIC maybe a better choice would be to allow for a hook process to fire that you can take over at the end of the processing and potentially move files on your own. As I said, there are only a handful of files that need to move, so it's easy to copy them after the fact with a small program.

+++ Rick ---


would you consider adding an option that copies these files into some location, maybe at the end of the process?


You can specify the Web folder, but not the folder for the FoxPro source files.

We had that for a few versions in the past but there were too many issues with paths and not being able to find the related Web Connection system files. So now it just creates the project in the Web Connection folder and leaves it up to you to move the files elsewhere - this ensures when you create a new project that it runs which is vital.

In order to move a project you have to move:


  • YourAppMain.prg
  • YourAppMain.ini
  • YourProcess.prg
  • YourApp.pjx/pjt

From whereever you move it to you'll have to reference the Web Connection folders (/classes and root at minimum).

+++ Rick ---



hi,
When running console > new project, how can I select the folder where new project should be located?
thanks







Rick Strahl
West Wind Technologies


from Geneva


Viewing all articles
Browse latest Browse all 10393

Trending Articles