> Do I understand correctly that you include the beam files for ErlyWeb > in your project?
Yes, in lib/erlyweb/ebin > Would you recommend keeping them with the project instead as a best > practice? Meh; I track HEAD in my development version, so it makes sense for me. It's up to you. > What are the pros and cons to this approach? * Pro: Easier to track HEAD on erlyweb (esp. using svn:externals) * Pro: don't have to install erlyweb on development and production servers and keep them in sync * Pro: heavy customisations to erlyweb is easier to track and use * Pro: developing on erlyweb itself is easier than tucking it away in / usr/local or wherever and editing it there * Pro: If you have multiple developers, they all have the same version * Pro: I keep other libraries (like plists, some perl modules), so it's just one more library to track rather than having to do it separately. * Con: if you have multiple erlyweb apps that do this, you have multiple independent versions of erlyweb * Con: the chicken-and-egg situation you describe below There are probably more cons. But it's my preference. It works, at any rate :) >> Then I launch erl (or yaws) with start.sh that contains (more or >> less): >> > Looks good. Does an equivalent Windows batch file look similar? I have > a Mac so this should work just fine for me. :-) Similar, yes. I don't have a Windows machine handy to craft and test one. >> The only issue is that I need ErlyWeb installed to run the project > create command in the Music tutorial and your setup has ErlyWeb in the > already created structure. This is a little bit "chicken and egg" for > me. Unless you can assure me that I can just manually create the > project structure and then add the ErlyWeb beam files into it > afterwards. That's true. You can manually create most of it, it won't matter to erlyweb > The joy of new environment confusion! :-) Happy to help :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "erlyweb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en -~----------~----~----~----~------~----~------~--~---
