-
1. Re: Is adding services and valueObjects packages to subversion a good idea?
Claudiu Ursica Dec 7, 2010 2:28 AM (in response to hidarikani)Yes it is a good idea as long as when the service gets updated you commit the
changes and the others get the updates.
C
-
2. Re: Is adding services and valueObjects packages to subversion a good idea?
hidarikani Dec 7, 2010 2:30 AM (in response to Claudiu Ursica)Have you tried it in practice?
-
3. Re: Is adding services and valueObjects packages to subversion a good idea?
Claudiu Ursica Dec 7, 2010 2:33 AM (in response to hidarikani)Usually I am not preaching if I am not practicing :). The thing is if the
service modifies and you don;t commit you'll end up using different services
between your team members. It is easier to update from svn than to regenerate
every morning.
C
-
4. Re: Is adding services and valueObjects packages to subversion a good idea?
paolo.anghileri Dec 7, 2010 9:45 AM (in response to hidarikani)I think it's a very good idea. I practise this from around two years and find very helpful if you work in team, because you can commit changes documenting them, compare revisions, revert changes, manage the (rare) conflicts that may occurr.
The only thing you should do if you want to run services on different machines( with different configurations) is to have a local configuration file (usually config.inc.php for php services) that you don't commit.
-
5. Re: Is adding services and valueObjects packages to subversion a good idea?
hidarikani Dec 14, 2010 12:12 AM (in response to paolo.anghileri)I've added services and valueObjects packages to subversion.
When creating a new project from subversion the services don't show up in 'Data/Services' Tab in Flash Builder.
I have to add all the hidden project files that start with a dot for the services to show up, right?
But these hidden files, for example .flexProperties contain absolute paths that won't be valid on another computer.
Am I missing something? What should I do?
The only thing you should do if you want to run services on different machines( with different configurations) is to have a local configuration file (usually config.inc.php for php services) that you don't commit.
I didn't find a config.inc.php. Where should I look for it?
-
6. Re: Is adding services and valueObjects packages to subversion a good idea?
paolo.anghileri Dec 15, 2010 1:02 AM (in response to hidarikani)I didn't find a config.inc.php. Where should I look for it?
Sorry, I' didnt' explain myself correctly.
config.inc.php is a sample name for configuration data to include, in this case, in php services, that can stay outside your flex project.
Usually I don't use php services generated by flex but I write them myself in a separate eclipse php project.
You will not find a config.inc.php in any place in flex generated code.


