Message from discussion
Unable to build multiple applications
Received: by 10.50.94.166 with SMTP id dd6mr1909178igb.3.1340820157679;
Wed, 27 Jun 2012 11:02:37 -0700 (PDT)
X-BeenThere: erlware-questions@googlegroups.com
Received: by 10.50.178.73 with SMTP id cw9ls4962681igc.4.canary; Wed, 27 Jun
2012 11:02:33 -0700 (PDT)
Received: by 10.50.12.225 with SMTP id b1mr1912048igc.1.1340820153857;
Wed, 27 Jun 2012 11:02:33 -0700 (PDT)
Received: by 10.50.100.229 with SMTP id fb5msigb;
Wed, 27 Jun 2012 10:51:37 -0700 (PDT)
Received: by 10.68.230.34 with SMTP id sv2mr3521786pbc.6.1340819497479;
Wed, 27 Jun 2012 10:51:37 -0700 (PDT)
Date: Wed, 27 Jun 2012 10:51:36 -0700 (PDT)
From: Raynier59 <raynie...@live.com>
To: erlware-questions@googlegroups.com
Message-Id: <48204e6d-2e70-4c5c-be92-98f0719f2f31@googlegroups.com>
In-Reply-To: <CACGM6H8+FtDFwFbRtjncQtqHzmonoNaDaG-R6LJDWDg387S9ZQ@mail.gmail.com>
References: <0f2a4637-2dd7-472c-9245-1ba26acdf168@googlegroups.com>
<CACGM6H8+FtDFwFbRtjncQtqHzmonoNaDaG-R6LJDWDg387S9ZQ@mail.gmail.com>
Subject: Re: Unable to build multiple applications
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_1553_13446272.1340819496883"
------=_Part_1553_13446272.1340819496883
Content-Type: multipart/alternative;
boundary="----=_Part_1554_2401442.1340819496883"
------=_Part_1554_2401442.1340819496883
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
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 in
the foo\lib directory I get the *Unable to generate a project configuration
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 info
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 and
> > building a multi-app solution with Sinan.
> >
> > SysInfo: I am working on a Win7 system, downloaded Sinan 4.1.1 from the
> > 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 project
> 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 project
> has
> > more than one application defined but the build succeeds if I
> define/place
> > only a single application in an multi-application project. (It generates
> 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 above)
> > 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 erlware-questions@googlegroups.com.
>
> > To unsubscribe from this group, send email to
> > erlware-questions+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/erlware-questions?hl=en.
>
------=_Part_1554_2401442.1340819496883
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi Eric,<br>
<br>
Thanks for your quick reply.<br>
<br>
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 in the foo\lib directory I get the <b>Unable to generate a project configuration from available metadata</b> error.<br>
<br>
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 info I can provide?<br><br>Thanks,<br><br> Raynier<br><br>On Wednesday, June 27, 2012 10:24:30 AM UTC-7, Eric Merritt wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Raynier,
<br>
<br>What does your application look like? All sinan is saying is that it
<br>cant figure out some details about the project and you haven't
<br>explicitly told it those details with a config.
<br>
<br>Eric
<br>
<br>On Wed, Jun 27, 2012 at 12:17 PM, Raynier59 wrote:
<br>> Hi All,
<br>>
<br>> I am new to the Erlang/Sinan field and have a question on setting up and
<br>> building a multi-app solution with Sinan.
<br>>
<br>> SysInfo: I am working on a Win7 system, downloaded Sinan 4.1.1 from the
<br>> GitHub site, running R15B01, ERTS 5.9.1
<br>> Error: Unable to generate a project configuration from available
<br>> metadata.
<br>> ------------------------------<wbr>------------------------------<wbr>--
<br>>
<br>> Step 1) C:\<path>\ErlangSource\<wbr>escript.exe sinan gen
<br>>
<br>> This command works just fine and I can setup a multi-application project and
<br>> define multiple applications inside it.
<br>> The expected directory structures for all applications are setup correctly.
<br>>
<br>> Step 2) C:\<path>\ErlangSource\<wbr>escript.exe sinan build
<br>>
<br>> This command fails with the error "Unable to generate a project
<br>> configuration from available metadata" if my multi-application project has
<br>> more than one application defined but the build succeeds if I define/place
<br>> only a single application in an multi-application project. (It generates the
<br>> _build directory etc, and all the other sinan commands work fine too)
<br>>
<br>> Adding another application to a multi-application project that was created
<br>> with a single application (which originally built fine as stated above)
<br>> subsequently also breaks on the build step with the given error.
<br>>
<br>> Any suggestions on how to place multiple applications in a
<br>> "multi-application project"? Am I missing something? Which is very likely
<br>> ;-)
<br>>
<br>> Thanks for any suggestions you can provide
<br>>
<br>> Kind regards
<br>>
<br>> Raynier (Vashon Island), WA.
<br>>
<br>>
<br>>
<br>> --
<br>> You received this message because you are subscribed to the Google Groups
<br>> "erlware-questions" group.
<br>> To view this discussion on the web visit
<br>> <a href="https://groups.google.com/d/msg/erlware-questions/-/2Mp3khQ40KAJ" target="_blank">https://groups.google.com/d/<wbr>msg/erlware-questions/-/<wbr>2Mp3khQ40KAJ</a>.
<br>> To post to this group, send email to <a href="mailto:erlware-questions@googlegroups.com" target="_blank">erlware-questions@<wbr>googlegroups.com</a>.
<br>> To unsubscribe from this group, send email to
<br>> <a href="mailto:erlware-questions%2Bunsubscribe@googlegroups.com" target="_blank">erlware-questions+unsubscribe@<wbr>googlegroups.com</a>.
<br>> For more options, visit this group at
<br>> <a href="http://groups.google.com/group/erlware-questions?hl=en" target="_blank">http://groups.google.com/<wbr>group/erlware-questions?hl=en</a>.
<br></blockquote>
------=_Part_1554_2401442.1340819496883--
------=_Part_1553_13446272.1340819496883--