That would be nice - and right now I don't think it is possible. Yesterday I was running into the same problem and I was thinking that one way to have it happen woudl be that if you are in an application taht sinan would recognize it and build only that application. If you are are outside of an app sinan would build the whole tree. Basically sinan would regress from the current directory until it recognizes where it is and then it would build. That seems to me to be the most straightforward solution.
On Sun, Jan 24, 2010 at 11:28 AM, Garrett Smith <g...@rre.tt> wrote: > I'm trying to build one application within the libs dir of a sinan > generated project. sinan is trying to compile everything.
> Is there a way to have sinan build from a particular directory down?
> Garrett
> -- > You received this message because you are subscribed to the Google Groups "erlware-questions" group. > 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.
That would work a long as you don't have any dependencies in any of the other directories. Just out of curiosity whats the source of the need? That should allow me to understand whats underlaying the request better.
On Sun, Jan 24, 2010 at 1:01 PM, Martin Logan <martinjlo...@gmail.com> wrote: > That would be nice - and right now I don't think it is possible. > Yesterday I was running into the same problem and I was thinking that > one way to have it happen woudl be that if you are in an application > taht sinan would recognize it and build only that application. If you > are are outside of an app sinan would build the whole tree. Basically > sinan would regress from the current directory until it recognizes > where it is and then it would build. That seems to me to be the most > straightforward solution.
> On Sun, Jan 24, 2010 at 11:28 AM, Garrett Smith <g...@rre.tt> wrote: >> I'm trying to build one application within the libs dir of a sinan >> generated project. sinan is trying to compile everything.
>> Is there a way to have sinan build from a particular directory down?
>> Garrett
>> -- >> You received this message because you are subscribed to the Google Groups "erlware-questions" group. >> 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.
> -- > You received this message because you are subscribed to the Google Groups "erlware-questions" group. > 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.
I might have mucked around with another app and am not interested in compiling it.
Naturally, if there's a dependency on another project at runtime, all bets are off. But to compile, I should be able to use the dependency feature of sinan to reference required include dir without those apps being compiled -- assuming I'm, e.g. a subdir.
This is common pattern/workflow in makefile based builds.
On Sun, Jan 24, 2010 at 2:19 PM, Eric Merritt <cyberl...@gmail.com> wrote: > That would work a long as you don't have any dependencies in any of > the other directories. Just out of curiosity whats the source of the > need? That should allow me to understand whats underlaying the request > better.
> On Sun, Jan 24, 2010 at 1:01 PM, Martin Logan <martinjlo...@gmail.com> wrote: >> That would be nice - and right now I don't think it is possible. >> Yesterday I was running into the same problem and I was thinking that >> one way to have it happen woudl be that if you are in an application >> taht sinan would recognize it and build only that application. If you >> are are outside of an app sinan would build the whole tree. Basically >> sinan would regress from the current directory until it recognizes >> where it is and then it would build. That seems to me to be the most >> straightforward solution.
>> On Sun, Jan 24, 2010 at 11:28 AM, Garrett Smith <g...@rre.tt> wrote: >>> I'm trying to build one application within the libs dir of a sinan >>> generated project. sinan is trying to compile everything.
>>> Is there a way to have sinan build from a particular directory down?
>>> Garrett
>>> -- >>> You received this message because you are subscribed to the Google Groups "erlware-questions" group. >>> 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.
>> -- >> You received this message because you are subscribed to the Google Groups "erlware-questions" group. >> 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.
> -- > You received this message because you are subscribed to the Google Groups "erlware-questions" group. > 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.
On Sun, Jan 24, 2010 at 1:01 PM, Martin Logan <martinjlo...@gmail.com> wrote: > That would be nice - and right now I don't think it is possible. > Yesterday I was running into the same problem and I was thinking that > one way to have it happen woudl be that if you are in an application > taht sinan would recognize it and build only that application. If you > are are outside of an app sinan would build the whole tree. Basically > sinan would regress from the current directory until it recognizes > where it is and then it would build. That seems to me to be the most > straightforward solution.
> On Sun, Jan 24, 2010 at 11:28 AM, Garrett Smith <g...@rre.tt> wrote: >> I'm trying to build one application within the libs dir of a sinan >> generated project. sinan is trying to compile everything.
>> Is there a way to have sinan build from a particular directory down?
>> Garrett
>> -- >> You received this message because you are subscribed to the Google Groups "erlware-questions" group. >> 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.
> -- > You received this message because you are subscribed to the Google Groups "erlware-questions" group. > 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.