Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unable to build multiple applications
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Raynier59  
View profile  
 More options Jun 27 2012, 1:17 pm
From: Raynier59 <raynie...@live.com>
Date: Wed, 27 Jun 2012 10:17:08 -0700 (PDT)
Local: Wed, Jun 27 2012 1:17 pm
Subject: Unable to build multiple applications

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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Merritt  
View profile  
 More options Jun 27 2012, 1:24 pm
From: Eric Merritt <ericbmerr...@gmail.com>
Date: Wed, 27 Jun 2012 12:24:30 -0500
Local: Wed, Jun 27 2012 1:24 pm
Subject: Re: Unable to build multiple applications
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raynier59  
View profile  
 More options Jun 27 2012, 1:51 pm
From: Raynier59 <raynie...@live.com>
Date: Wed, 27 Jun 2012 10:51:36 -0700 (PDT)
Local: Wed, Jun 27 2012 1:51 pm
Subject: Re: Unable to build multiple applications

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Merritt  
View profile   Translate to Translated (View Original)
 More options Jun 27 2012, 2:04 pm
From: Eric Merritt <ericbmerr...@gmail.com>
Date: Wed, 27 Jun 2012 13:04:44 -0500
Local: Wed, Jun 27 2012 2:04 pm
Subject: Re: Unable to build multiple applications
Raynier,

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.

Eric


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raynier59  
View profile  
 More options Jun 27 2012, 2:46 pm
From: Raynier59 <raynie...@live.com>
Date: Wed, 27 Jun 2012 11:46:48 -0700 (PDT)
Local: Wed, Jun 27 2012 2:46 pm
Subject: Re: Unable to build multiple applications

Hi Eric,

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.

Thanks again.

   Raynier

  ErlangVimeoCode.zip
11K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Merritt  
View profile   Translate to Translated (View Original)
 More options Jun 28 2012, 10:09 am
From: Eric Merritt <ericbmerr...@gmail.com>
Date: Thu, 28 Jun 2012 09:09:26 -0500
Local: Thurs, Jun 28 2012 10:09 am
Subject: Re: Unable to build multiple applications
I will take a look.

On Wed, Jun 27, 2012 at 1:46 PM, Raynier59 <raynie...@live.com> wrote:
> Hi Eric,

> 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.

You can do this also by running "sinan version"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Merritt  
View profile  
 More options Jun 28 2012, 10:17 am
From: Eric Merritt <ericbmerr...@gmail.com>
Date: Thu, 28 Jun 2012 09:17:01 -0500
Local: Thurs, Jun 28 2012 10:17 am
Subject: Re: Unable to build multiple applications
Raynier,

So on linux this works just fine. That makes me believe that this is a
windows problem. We wrote sinan to be platform agnostic but none of us
have actually run or tested this on windows. I will try to get a
windows vm built up and test it out, thats going to take a few days
though.

Eric


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raynier59  
View profile  
 More options Jun 29 2012, 1:47 pm
From: Raynier59 <raynie...@live.com>
Date: Fri, 29 Jun 2012 10:47:55 -0700 (PDT)
Local: Fri, Jun 29 2012 1:47 pm
Subject: Re: Unable to build multiple applications

Hi Eric,

How could I complain about you helping me :-)

Thanks for looking into the problem. There is no immediate urgency. I'll
keep track of the thread.

Take care,

    Raynier


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »