zip file with project attached. I left out the sinan escript but it would
be in the ErlangVimeoCode directory as a sibling to the xhive directory. I
verified that the sinan build is 4.1.1 by looking inside the sinan script.
"escript.exe sinan build" in the ErlangVimeoCode directory causes the break.
On Wednesday, June 27, 2012 11:04:44 AM UTC-7, Eric Merritt wrote:
> Is it possible for you to tar up your project and send it my way?
> Thats going to be easiest. If not we can work through the issues.
> On Wed, Jun 27, 2012 at 12:51 PM, Raynier59 wrote:
> > Hi Eric,
> > Thanks for your quick reply.
> > I am working along side your Vimeo video (http://vimeo.com/34177001)
> but get
> > stumped at the build point in the video. It looks like something in the
> > process breaks if there are multiple directories (applications) in the
> > project foo/lib directory. If I remove say the \bar and \baz application
> > directories it happily builds my project into the project /_build dir.
> If I
> > do several builds for each \foo, \bar and \baz separately, each of them
> > builds to the \build directory (so it looks it is not related to the
> > applications themselves) but as soon as there is more than one app-dir
> > the foo\lib directory I get the Unable to generate a project
> > from available metadata error.
> > So there is not really any code in the applications yet. It wasn't clear
> > from the video that I need to provide additional config info? Any more
> > I can provide?
> > Thanks,
> > Raynier
> > On Wednesday, June 27, 2012 10:24:30 AM UTC-7, Eric Merritt wrote:
> >> Raynier,
> >> What does your application look like? All sinan is saying is that it
> >> cant figure out some details about the project and you haven't
> >> explicitly told it those details with a config.
> >> Eric
> >> On Wed, Jun 27, 2012 at 12:17 PM, Raynier59 wrote:
> >> > Hi All,
> >> > I am new to the Erlang/Sinan field and have a question on setting up
> >> > building a multi-app solution with Sinan.
> >> > SysInfo: I am working on a Win7 system, downloaded Sinan 4.1.1 from
> >> > GitHub site, running R15B01, ERTS 5.9.1
> >> > Error: Unable to generate a project configuration from available
> >> > metadata.
> >> > --------------------------------------------------------------
> >> > Step 1) C:\<path>\ErlangSource\escript.exe sinan gen
> >> > This command works just fine and I can setup a multi-application
> >> > and
> >> > define multiple applications inside it.
> >> > The expected directory structures for all applications are setup
> >> > correctly.
> >> > Step 2) C:\<path>\ErlangSource\escript.exe sinan build
> >> > This command fails with the error "Unable to generate a project
> >> > configuration from available metadata" if my multi-application
> >> > has
> >> > more than one application defined but the build succeeds if I
> >> > define/place
> >> > only a single application in an multi-application project. (It
> >> > the
> >> > _build directory etc, and all the other sinan commands work fine too)
> >> > Adding another application to a multi-application project that was
> >> > created
> >> > with a single application (which originally built fine as stated
> >> > subsequently also breaks on the build step with the given error.
> >> > Any suggestions on how to place multiple applications in a
> >> > "multi-application project"? Am I missing something? Which is very
> >> > likely
> >> > ;-)
> >> > Thanks for any suggestions you can provide
> >> > Kind regards
> >> > Raynier (Vashon Island), WA.
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups
> >> > "erlware-questions" group.
> >> > To view this discussion on the web visit
> >> > https://groups.google.com/d/msg/erlware-questions/-/2Mp3khQ40KAJ.
> >> > To post to this group, send email to
> >> > To unsubscribe from this group, send email to
> >> > firstname.lastname@example.org.
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/erlware-questions?hl=en.
> > --
> > You received this message because you are subscribed to the Google
> > "erlware-questions" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/erlware-questions/-/KlDZd8ksNS4J.
> > To post to this group, send email to email@example.com.
> > To unsubscribe from this group, send email to
> > firstname.lastname@example.org.
> > For more options, visit this group at
> > http://groups.google.com/group/erlware-questions?hl=en.