Re: [Mono-list] Developing in a mix environment
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jul 30, 2007, at 10:46 PM, John Anderson wrote: What are your guys best tips for working in a mix environment (Windows/Mac/Linux) ? How do you avoid running into new line/carriage return problems between editors? How do you handle building projects between the systems? -- Do you use nant/make files, if so, how do the windows developers handle that -- Do you use vs solutions with monodevelop? How well does it work? Is there something on the Mac that can do this? What are the gotchas about developing in a mixed environment? How well does the mono add-in for Visual Studio work? -- What versions does it work with I've been using NAnt and relatively standard editors (Vim and Emacs are 'relatively' cross-platform) and then as the other folks have already mentioned Subversion can be used to set properties on files to ensure line-ending standardization. The rub really comes when you need to work with developers that use Visual Studio 2005 (exclusively! =[) then it's either usually a case of running their existing project files through prj2make and hoping for the best or making your case for Nant or something like Premake/ PreBuild. Cheers, - - R. Tyler Balllance -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGsQbfA2GmJ0VpG78RAofYAJwPvmm/p4VtiSZHZUk5zZMWqH2oNQCdEqf0 vaXZ4Fwy6DG9pZUk0SwQITg= =m3U2 -END PGP SIGNATURE- ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Developing in a mix environment
On 7/31/07, John Anderson [EMAIL PROTECTED] wrote: How do you avoid running into new line/carriage return problems between editors? We use svn:eol-style to translate between systems. See the Subversion manual for more info, How do you handle building projects between the systems? We use Premake (http://premake.sf.net/) to generate Visual Studio and SharpDevelop files for Windows, MonoDevelop files for Linux, and GNU makefiles for OS X (and edit in XCode). Jason ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Developing in a mix environment
Hi, Here's a few cents on some of your questions. How do you avoid running into new line/carriage return problems between editors? Each user can edit his svn config file to avoid line ending problems. Some info on that here: http://www.zope.org/DevHome/Subversion/SubversionConfigurationForLineEndings or google for more How do you handle building projects between the systems? -- Do you use nant/make files, if so, how do the windows developers handle that -- Do you use vs solutions with monodevelop? How well does it work? Is there something on the Mac that can do this? I'm not sure what others do, but in mojoPortal I use MonoDevelop solutions and projects when working in MonoDevelop and VS Solutions and projects when working on Windows. I haven't tried the use of VS solutions/projects in MonoDevelop. Pros of my approach: I can have different compiler directives in the MD solution than the VS solution and I find I need these in some places to work around unsupported things etc. Cons of my approach: If I add files to a VS solution or project, they are not automatically added to the corresponding .mdp or .mds so I have to add them manually. I build with VS on Windows and build with MD on linux. Nant is also an option I just haven't got there yet myself. Hope it helps, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Developing in a mix environment
We use Premake (http://premake.sf.net/) to generate Visual Studio and SharpDevelop files for Windows, MonoDevelop files for Linux, and GNU makefiles for OS X (and edit in XCode). Nice! I did not know about Premake, Thanks! Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Developing in a mix environment
forwarded to list Well, i use PreBuild which works great for me. It's pretty much the same as Premake, except it might have a few more targets. It's maintained by 'cj' on #mono. The only thing you have to remember to do is to set the svn-props on all your text files to be native end of line style. This will then transparently alter the end of line marker in your textfiles depending on the OS you've just checked the files out in. Those are the only two things which may cause problems i a multi-environment situation. Other than that, make sure ye all test off the same version of mono or you might run into issues where project X only compiles for one person but not another because of version differences. Alan. On 7/31/07, Joe Audette [EMAIL PROTECTED] wrote: We use Premake (http://premake.sf.net/) to generate Visual Studio and SharpDevelop files for Windows, MonoDevelop files for Linux, and GNU makefiles for OS X (and edit in XCode). Nice! I did not know about Premake, Thanks! Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Developing in a mix environment
What are your guys best tips for working in a mix environment (Windows/Mac/Linux) ? How do you avoid running into new line/carriage return problems between editors? How do you handle building projects between the systems? -- Do you use nant/make files, if so, how do the windows developers handle that -- Do you use vs solutions with monodevelop? How well does it work? Is there something on the Mac that can do this? What are the gotchas about developing in a mixed environment? How well does the mono add-in for Visual Studio work? -- What versions does it work with Any other things that you guys may think of! Thanks ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list