You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Piotr Zarzycki <pi...@gmail.com> on 2018/12/14 09:40:33 UTC
JS output produced inside source folder
Hi Guys,
I have some project where the main file of application is in folder
myrootfolder/src/foo/view/royale/Main.mxml
When I'm compiling application to JS only bin folder is being created
inside:
myrootfolder/src/foo/view/royale/bin
Is it a bug ?
It may be worth to mention that in source-path I have two items:
<source-path append="true">
<path-element>puremvc-as3-multicore-framework\src</path-element>
<path-element>src</path-element>
</source-path>
I have found that for example when I'm compiling JewelExample which
contains also main file deeper inside structure src/main/royale - bin
folder is placed in the root folder of the project. - Which I consider as
more correct instead as part of the source.
Thanks,
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: JS output produced inside source folder
Posted by Josh Tynjala <jo...@apache.org>.
Yes. You should be able to specify output or js-output in your project's compiler options to choose a custom output folder.
- Josh
On 2018/12/14 18:03:10, Alex Harui <ah...@adobe.com.INVALID> wrote:
> The compiler recognizes "src/main/royale" and "src" and picks a sibling of "src" for the output. All other compiles go in the same folder as the source as most other compiles do. IIRC, this has been discussed on the mailing list before.
>
> HTH,
> -Alex
>
> On 12/14/18, 5:52 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
>
> I'm specifying them in asconfigc.json in case of VSCode. You have apart of
> "src" something more in source-path ?
>
> The only reason why puremvc sources are in separate folder is that other
> part of the project using it. However there is nothing unusual in my setup,
> so the output should land in bin outside src folder.
>
> pt., 14 gru 2018 o 14:31 Harbs <ha...@gmail.com> napisał(a):
>
> > Where are you specifying this?
> >
> > If you are using asconfigc, why don’t you specify them in the
> > asconfigc.json file? FWIW, I just added "source-path": ["src”] to a project
> > and it worked fine.
> >
> > Also: Any reason you don’t just copy the code into your src folder?
> >
> > > On Dec 14, 2018, at 2:42 PM, Piotr Zarzycki <pi...@gmail.com>
> > wrote:
> > >
> > > I mean't there VSCode* - sweet dictionary! :)
> > >
> > > On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki <pi...@gmail.com>
> > > wrote:
> > >
> > >> If you don't use any additional project as part of yours you don't need
> > to
> > >> specify source-path.
> > >>
> > >> However if you have (in my case it's puremvc) Viscose or Moonshine have
> > >> problems with seeing classes. We were getting errors without it.
> > >>
> > >>
> > >> On Fri, Dec 14, 2018, 1:31 PM Harbs <ha...@gmail.com> wrote:
> > >>
> > >>> Why do you have src there? What happens if you remove it?
> > >>>
> > >>>> On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <
> > piotrzarzycki21@gmail.com>
> > >>> wrote:
> > >>>>
> > >>>> Nope I'm building from IDE. Maybe this two items in source path have
> > >>>> something to do with it.
> > >>>>
> > >>>>
> > >>>> On Fri, Dec 14, 2018, 11:51 AM Harbs <ha...@gmail.com> wrote:
> > >>>>
> > >>>>> I’ve never seen the bin folder created anywhere other than the
> > project
> > >>>>> root.
> > >>>>>
> > >>>>> Is this specific to maven?
> > >>>>>
> > >>>>>> On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki <
> > >>> piotrzarzycki21@gmail.com>
> > >>>>> wrote:
> > >>>>>>
> > >>>>>> Hi Guys,
> > >>>>>>
> > >>>>>> I have some project where the main file of application is in folder
> > >>>>>>
> > >>>>>> myrootfolder/src/foo/view/royale/Main.mxml
> > >>>>>>
> > >>>>>> When I'm compiling application to JS only bin folder is being
> > created
> > >>>>>> inside:
> > >>>>>>
> > >>>>>> myrootfolder/src/foo/view/royale/bin
> > >>>>>>
> > >>>>>> Is it a bug ?
> > >>>>>>
> > >>>>>> It may be worth to mention that in source-path I have two items:
> > >>>>>>
> > >>>>>> <source-path append="true">
> > >>>>>> <path-element>puremvc-as3-multicore-framework\src</path-element>
> > >>>>>> <path-element>src</path-element>
> > >>>>>> </source-path>
> > >>>>>>
> > >>>>>> I have found that for example when I'm compiling JewelExample which
> > >>>>>> contains also main file deeper inside structure src/main/royale -
> > bin
> > >>>>>> folder is placed in the root folder of the project. - Which I
> > >>> consider as
> > >>>>>> more correct instead as part of the source.
> > >>>>>>
> > >>>>>> Thanks,
> > >>>>>> --
> > >>>>>>
> > >>>>>> Piotr Zarzycki
> > >>>>>>
> > >>>>>> Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C6c83eebaeb3a40c62b9308d661cb5f31%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803923435480140&sdata=WdPtBRGHxSxlcZcCLdGHUNpOGnoMGoyPtpcZIrnIv%2FU%3D&reserved=0
> > >>>>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C6c83eebaeb3a40c62b9308d661cb5f31%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803923435480140&sdata=WdPtBRGHxSxlcZcCLdGHUNpOGnoMGoyPtpcZIrnIv%2FU%3D&reserved=0>*
> > >>>>>
> > >>>>>
> > >>>
> > >>>
> >
> >
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C6c83eebaeb3a40c62b9308d661cb5f31%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803923435480140&sdata=WdPtBRGHxSxlcZcCLdGHUNpOGnoMGoyPtpcZIrnIv%2FU%3D&reserved=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C6c83eebaeb3a40c62b9308d661cb5f31%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803923435480140&sdata=WdPtBRGHxSxlcZcCLdGHUNpOGnoMGoyPtpcZIrnIv%2FU%3D&reserved=0>*
>
>
>
Re: JS output produced inside source folder
Posted by Alex Harui <ah...@adobe.com.INVALID>.
The compiler recognizes "src/main/royale" and "src" and picks a sibling of "src" for the output. All other compiles go in the same folder as the source as most other compiles do. IIRC, this has been discussed on the mailing list before.
HTH,
-Alex
On 12/14/18, 5:52 AM, "Piotr Zarzycki" <pi...@gmail.com> wrote:
I'm specifying them in asconfigc.json in case of VSCode. You have apart of
"src" something more in source-path ?
The only reason why puremvc sources are in separate folder is that other
part of the project using it. However there is nothing unusual in my setup,
so the output should land in bin outside src folder.
pt., 14 gru 2018 o 14:31 Harbs <ha...@gmail.com> napisał(a):
> Where are you specifying this?
>
> If you are using asconfigc, why don’t you specify them in the
> asconfigc.json file? FWIW, I just added "source-path": ["src”] to a project
> and it worked fine.
>
> Also: Any reason you don’t just copy the code into your src folder?
>
> > On Dec 14, 2018, at 2:42 PM, Piotr Zarzycki <pi...@gmail.com>
> wrote:
> >
> > I mean't there VSCode* - sweet dictionary! :)
> >
> > On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki <pi...@gmail.com>
> > wrote:
> >
> >> If you don't use any additional project as part of yours you don't need
> to
> >> specify source-path.
> >>
> >> However if you have (in my case it's puremvc) Viscose or Moonshine have
> >> problems with seeing classes. We were getting errors without it.
> >>
> >>
> >> On Fri, Dec 14, 2018, 1:31 PM Harbs <ha...@gmail.com> wrote:
> >>
> >>> Why do you have src there? What happens if you remove it?
> >>>
> >>>> On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <
> piotrzarzycki21@gmail.com>
> >>> wrote:
> >>>>
> >>>> Nope I'm building from IDE. Maybe this two items in source path have
> >>>> something to do with it.
> >>>>
> >>>>
> >>>> On Fri, Dec 14, 2018, 11:51 AM Harbs <ha...@gmail.com> wrote:
> >>>>
> >>>>> I’ve never seen the bin folder created anywhere other than the
> project
> >>>>> root.
> >>>>>
> >>>>> Is this specific to maven?
> >>>>>
> >>>>>> On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki <
> >>> piotrzarzycki21@gmail.com>
> >>>>> wrote:
> >>>>>>
> >>>>>> Hi Guys,
> >>>>>>
> >>>>>> I have some project where the main file of application is in folder
> >>>>>>
> >>>>>> myrootfolder/src/foo/view/royale/Main.mxml
> >>>>>>
> >>>>>> When I'm compiling application to JS only bin folder is being
> created
> >>>>>> inside:
> >>>>>>
> >>>>>> myrootfolder/src/foo/view/royale/bin
> >>>>>>
> >>>>>> Is it a bug ?
> >>>>>>
> >>>>>> It may be worth to mention that in source-path I have two items:
> >>>>>>
> >>>>>> <source-path append="true">
> >>>>>> <path-element>puremvc-as3-multicore-framework\src</path-element>
> >>>>>> <path-element>src</path-element>
> >>>>>> </source-path>
> >>>>>>
> >>>>>> I have found that for example when I'm compiling JewelExample which
> >>>>>> contains also main file deeper inside structure src/main/royale -
> bin
> >>>>>> folder is placed in the root folder of the project. - Which I
> >>> consider as
> >>>>>> more correct instead as part of the source.
> >>>>>>
> >>>>>> Thanks,
> >>>>>> --
> >>>>>>
> >>>>>> Piotr Zarzycki
> >>>>>>
> >>>>>> Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C6c83eebaeb3a40c62b9308d661cb5f31%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803923435480140&sdata=WdPtBRGHxSxlcZcCLdGHUNpOGnoMGoyPtpcZIrnIv%2FU%3D&reserved=0
> >>>>>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C6c83eebaeb3a40c62b9308d661cb5f31%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803923435480140&sdata=WdPtBRGHxSxlcZcCLdGHUNpOGnoMGoyPtpcZIrnIv%2FU%3D&reserved=0>*
> >>>>>
> >>>>>
> >>>
> >>>
>
>
--
Piotr Zarzycki
Patreon: *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C6c83eebaeb3a40c62b9308d661cb5f31%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803923435480140&sdata=WdPtBRGHxSxlcZcCLdGHUNpOGnoMGoyPtpcZIrnIv%2FU%3D&reserved=0
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C6c83eebaeb3a40c62b9308d661cb5f31%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803923435480140&sdata=WdPtBRGHxSxlcZcCLdGHUNpOGnoMGoyPtpcZIrnIv%2FU%3D&reserved=0>*
Re: JS output produced inside source folder
Posted by Piotr Zarzycki <pi...@gmail.com>.
Btw. This problem exists for a long time cause I just found code from last
year in Moonshine which workaround it, by moving bin folder to the root
directory if it's landing inside src.
pt., 14 gru 2018 o 14:51 Piotr Zarzycki <pi...@gmail.com>
napisał(a):
> I'm specifying them in asconfigc.json in case of VSCode. You have apart of
> "src" something more in source-path ?
>
> The only reason why puremvc sources are in separate folder is that other
> part of the project using it. However there is nothing unusual in my setup,
> so the output should land in bin outside src folder.
>
> pt., 14 gru 2018 o 14:31 Harbs <ha...@gmail.com> napisał(a):
>
>> Where are you specifying this?
>>
>> If you are using asconfigc, why don’t you specify them in the
>> asconfigc.json file? FWIW, I just added "source-path": ["src”] to a project
>> and it worked fine.
>>
>> Also: Any reason you don’t just copy the code into your src folder?
>>
>> > On Dec 14, 2018, at 2:42 PM, Piotr Zarzycki <pi...@gmail.com>
>> wrote:
>> >
>> > I mean't there VSCode* - sweet dictionary! :)
>> >
>> > On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki <piotrzarzycki21@gmail.com
>> >
>> > wrote:
>> >
>> >> If you don't use any additional project as part of yours you don't
>> need to
>> >> specify source-path.
>> >>
>> >> However if you have (in my case it's puremvc) Viscose or Moonshine have
>> >> problems with seeing classes. We were getting errors without it.
>> >>
>> >>
>> >> On Fri, Dec 14, 2018, 1:31 PM Harbs <ha...@gmail.com> wrote:
>> >>
>> >>> Why do you have src there? What happens if you remove it?
>> >>>
>> >>>> On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <
>> piotrzarzycki21@gmail.com>
>> >>> wrote:
>> >>>>
>> >>>> Nope I'm building from IDE. Maybe this two items in source path have
>> >>>> something to do with it.
>> >>>>
>> >>>>
>> >>>> On Fri, Dec 14, 2018, 11:51 AM Harbs <ha...@gmail.com> wrote:
>> >>>>
>> >>>>> I’ve never seen the bin folder created anywhere other than the
>> project
>> >>>>> root.
>> >>>>>
>> >>>>> Is this specific to maven?
>> >>>>>
>> >>>>>> On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki <
>> >>> piotrzarzycki21@gmail.com>
>> >>>>> wrote:
>> >>>>>>
>> >>>>>> Hi Guys,
>> >>>>>>
>> >>>>>> I have some project where the main file of application is in folder
>> >>>>>>
>> >>>>>> myrootfolder/src/foo/view/royale/Main.mxml
>> >>>>>>
>> >>>>>> When I'm compiling application to JS only bin folder is being
>> created
>> >>>>>> inside:
>> >>>>>>
>> >>>>>> myrootfolder/src/foo/view/royale/bin
>> >>>>>>
>> >>>>>> Is it a bug ?
>> >>>>>>
>> >>>>>> It may be worth to mention that in source-path I have two items:
>> >>>>>>
>> >>>>>> <source-path append="true">
>> >>>>>> <path-element>puremvc-as3-multicore-framework\src</path-element>
>> >>>>>> <path-element>src</path-element>
>> >>>>>> </source-path>
>> >>>>>>
>> >>>>>> I have found that for example when I'm compiling JewelExample which
>> >>>>>> contains also main file deeper inside structure src/main/royale -
>> bin
>> >>>>>> folder is placed in the root folder of the project. - Which I
>> >>> consider as
>> >>>>>> more correct instead as part of the source.
>> >>>>>>
>> >>>>>> Thanks,
>> >>>>>> --
>> >>>>>>
>> >>>>>> Piotr Zarzycki
>> >>>>>>
>> >>>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>> >>>>>> <https://www.patreon.com/piotrzarzycki>*
>> >>>>>
>> >>>>>
>> >>>
>> >>>
>>
>>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: JS output produced inside source folder
Posted by Piotr Zarzycki <pi...@gmail.com>.
I'm specifying them in asconfigc.json in case of VSCode. You have apart of
"src" something more in source-path ?
The only reason why puremvc sources are in separate folder is that other
part of the project using it. However there is nothing unusual in my setup,
so the output should land in bin outside src folder.
pt., 14 gru 2018 o 14:31 Harbs <ha...@gmail.com> napisał(a):
> Where are you specifying this?
>
> If you are using asconfigc, why don’t you specify them in the
> asconfigc.json file? FWIW, I just added "source-path": ["src”] to a project
> and it worked fine.
>
> Also: Any reason you don’t just copy the code into your src folder?
>
> > On Dec 14, 2018, at 2:42 PM, Piotr Zarzycki <pi...@gmail.com>
> wrote:
> >
> > I mean't there VSCode* - sweet dictionary! :)
> >
> > On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki <pi...@gmail.com>
> > wrote:
> >
> >> If you don't use any additional project as part of yours you don't need
> to
> >> specify source-path.
> >>
> >> However if you have (in my case it's puremvc) Viscose or Moonshine have
> >> problems with seeing classes. We were getting errors without it.
> >>
> >>
> >> On Fri, Dec 14, 2018, 1:31 PM Harbs <ha...@gmail.com> wrote:
> >>
> >>> Why do you have src there? What happens if you remove it?
> >>>
> >>>> On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <
> piotrzarzycki21@gmail.com>
> >>> wrote:
> >>>>
> >>>> Nope I'm building from IDE. Maybe this two items in source path have
> >>>> something to do with it.
> >>>>
> >>>>
> >>>> On Fri, Dec 14, 2018, 11:51 AM Harbs <ha...@gmail.com> wrote:
> >>>>
> >>>>> I’ve never seen the bin folder created anywhere other than the
> project
> >>>>> root.
> >>>>>
> >>>>> Is this specific to maven?
> >>>>>
> >>>>>> On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki <
> >>> piotrzarzycki21@gmail.com>
> >>>>> wrote:
> >>>>>>
> >>>>>> Hi Guys,
> >>>>>>
> >>>>>> I have some project where the main file of application is in folder
> >>>>>>
> >>>>>> myrootfolder/src/foo/view/royale/Main.mxml
> >>>>>>
> >>>>>> When I'm compiling application to JS only bin folder is being
> created
> >>>>>> inside:
> >>>>>>
> >>>>>> myrootfolder/src/foo/view/royale/bin
> >>>>>>
> >>>>>> Is it a bug ?
> >>>>>>
> >>>>>> It may be worth to mention that in source-path I have two items:
> >>>>>>
> >>>>>> <source-path append="true">
> >>>>>> <path-element>puremvc-as3-multicore-framework\src</path-element>
> >>>>>> <path-element>src</path-element>
> >>>>>> </source-path>
> >>>>>>
> >>>>>> I have found that for example when I'm compiling JewelExample which
> >>>>>> contains also main file deeper inside structure src/main/royale -
> bin
> >>>>>> folder is placed in the root folder of the project. - Which I
> >>> consider as
> >>>>>> more correct instead as part of the source.
> >>>>>>
> >>>>>> Thanks,
> >>>>>> --
> >>>>>>
> >>>>>> Piotr Zarzycki
> >>>>>>
> >>>>>> Patreon: *https://www.patreon.com/piotrzarzycki
> >>>>>> <https://www.patreon.com/piotrzarzycki>*
> >>>>>
> >>>>>
> >>>
> >>>
>
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: JS output produced inside source folder
Posted by Harbs <ha...@gmail.com>.
Where are you specifying this?
If you are using asconfigc, why don’t you specify them in the asconfigc.json file? FWIW, I just added "source-path": ["src”] to a project and it worked fine.
Also: Any reason you don’t just copy the code into your src folder?
> On Dec 14, 2018, at 2:42 PM, Piotr Zarzycki <pi...@gmail.com> wrote:
>
> I mean't there VSCode* - sweet dictionary! :)
>
> On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki <pi...@gmail.com>
> wrote:
>
>> If you don't use any additional project as part of yours you don't need to
>> specify source-path.
>>
>> However if you have (in my case it's puremvc) Viscose or Moonshine have
>> problems with seeing classes. We were getting errors without it.
>>
>>
>> On Fri, Dec 14, 2018, 1:31 PM Harbs <ha...@gmail.com> wrote:
>>
>>> Why do you have src there? What happens if you remove it?
>>>
>>>> On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <pi...@gmail.com>
>>> wrote:
>>>>
>>>> Nope I'm building from IDE. Maybe this two items in source path have
>>>> something to do with it.
>>>>
>>>>
>>>> On Fri, Dec 14, 2018, 11:51 AM Harbs <ha...@gmail.com> wrote:
>>>>
>>>>> I’ve never seen the bin folder created anywhere other than the project
>>>>> root.
>>>>>
>>>>> Is this specific to maven?
>>>>>
>>>>>> On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki <
>>> piotrzarzycki21@gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> Hi Guys,
>>>>>>
>>>>>> I have some project where the main file of application is in folder
>>>>>>
>>>>>> myrootfolder/src/foo/view/royale/Main.mxml
>>>>>>
>>>>>> When I'm compiling application to JS only bin folder is being created
>>>>>> inside:
>>>>>>
>>>>>> myrootfolder/src/foo/view/royale/bin
>>>>>>
>>>>>> Is it a bug ?
>>>>>>
>>>>>> It may be worth to mention that in source-path I have two items:
>>>>>>
>>>>>> <source-path append="true">
>>>>>> <path-element>puremvc-as3-multicore-framework\src</path-element>
>>>>>> <path-element>src</path-element>
>>>>>> </source-path>
>>>>>>
>>>>>> I have found that for example when I'm compiling JewelExample which
>>>>>> contains also main file deeper inside structure src/main/royale - bin
>>>>>> folder is placed in the root folder of the project. - Which I
>>> consider as
>>>>>> more correct instead as part of the source.
>>>>>>
>>>>>> Thanks,
>>>>>> --
>>>>>>
>>>>>> Piotr Zarzycki
>>>>>>
>>>>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>>>>> <https://www.patreon.com/piotrzarzycki>*
>>>>>
>>>>>
>>>
>>>
Re: JS output produced inside source folder
Posted by Piotr Zarzycki <pi...@gmail.com>.
I mean't there VSCode* - sweet dictionary! :)
On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki <pi...@gmail.com>
wrote:
> If you don't use any additional project as part of yours you don't need to
> specify source-path.
>
> However if you have (in my case it's puremvc) Viscose or Moonshine have
> problems with seeing classes. We were getting errors without it.
>
>
> On Fri, Dec 14, 2018, 1:31 PM Harbs <ha...@gmail.com> wrote:
>
>> Why do you have src there? What happens if you remove it?
>>
>> > On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <pi...@gmail.com>
>> wrote:
>> >
>> > Nope I'm building from IDE. Maybe this two items in source path have
>> > something to do with it.
>> >
>> >
>> > On Fri, Dec 14, 2018, 11:51 AM Harbs <ha...@gmail.com> wrote:
>> >
>> >> I’ve never seen the bin folder created anywhere other than the project
>> >> root.
>> >>
>> >> Is this specific to maven?
>> >>
>> >>> On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki <
>> piotrzarzycki21@gmail.com>
>> >> wrote:
>> >>>
>> >>> Hi Guys,
>> >>>
>> >>> I have some project where the main file of application is in folder
>> >>>
>> >>> myrootfolder/src/foo/view/royale/Main.mxml
>> >>>
>> >>> When I'm compiling application to JS only bin folder is being created
>> >>> inside:
>> >>>
>> >>> myrootfolder/src/foo/view/royale/bin
>> >>>
>> >>> Is it a bug ?
>> >>>
>> >>> It may be worth to mention that in source-path I have two items:
>> >>>
>> >>> <source-path append="true">
>> >>> <path-element>puremvc-as3-multicore-framework\src</path-element>
>> >>> <path-element>src</path-element>
>> >>> </source-path>
>> >>>
>> >>> I have found that for example when I'm compiling JewelExample which
>> >>> contains also main file deeper inside structure src/main/royale - bin
>> >>> folder is placed in the root folder of the project. - Which I
>> consider as
>> >>> more correct instead as part of the source.
>> >>>
>> >>> Thanks,
>> >>> --
>> >>>
>> >>> Piotr Zarzycki
>> >>>
>> >>> Patreon: *https://www.patreon.com/piotrzarzycki
>> >>> <https://www.patreon.com/piotrzarzycki>*
>> >>
>> >>
>>
>>
Re: JS output produced inside source folder
Posted by Piotr Zarzycki <pi...@gmail.com>.
If you don't use any additional project as part of yours you don't need to
specify source-path.
However if you have (in my case it's puremvc) Viscose or Moonshine have
problems with seeing classes. We were getting errors without it.
On Fri, Dec 14, 2018, 1:31 PM Harbs <ha...@gmail.com> wrote:
> Why do you have src there? What happens if you remove it?
>
> > On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <pi...@gmail.com>
> wrote:
> >
> > Nope I'm building from IDE. Maybe this two items in source path have
> > something to do with it.
> >
> >
> > On Fri, Dec 14, 2018, 11:51 AM Harbs <ha...@gmail.com> wrote:
> >
> >> I’ve never seen the bin folder created anywhere other than the project
> >> root.
> >>
> >> Is this specific to maven?
> >>
> >>> On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki <
> piotrzarzycki21@gmail.com>
> >> wrote:
> >>>
> >>> Hi Guys,
> >>>
> >>> I have some project where the main file of application is in folder
> >>>
> >>> myrootfolder/src/foo/view/royale/Main.mxml
> >>>
> >>> When I'm compiling application to JS only bin folder is being created
> >>> inside:
> >>>
> >>> myrootfolder/src/foo/view/royale/bin
> >>>
> >>> Is it a bug ?
> >>>
> >>> It may be worth to mention that in source-path I have two items:
> >>>
> >>> <source-path append="true">
> >>> <path-element>puremvc-as3-multicore-framework\src</path-element>
> >>> <path-element>src</path-element>
> >>> </source-path>
> >>>
> >>> I have found that for example when I'm compiling JewelExample which
> >>> contains also main file deeper inside structure src/main/royale - bin
> >>> folder is placed in the root folder of the project. - Which I consider
> as
> >>> more correct instead as part of the source.
> >>>
> >>> Thanks,
> >>> --
> >>>
> >>> Piotr Zarzycki
> >>>
> >>> Patreon: *https://www.patreon.com/piotrzarzycki
> >>> <https://www.patreon.com/piotrzarzycki>*
> >>
> >>
>
>
Re: JS output produced inside source folder
Posted by Harbs <ha...@gmail.com>.
Why do you have src there? What happens if you remove it?
> On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <pi...@gmail.com> wrote:
>
> Nope I'm building from IDE. Maybe this two items in source path have
> something to do with it.
>
>
> On Fri, Dec 14, 2018, 11:51 AM Harbs <ha...@gmail.com> wrote:
>
>> I’ve never seen the bin folder created anywhere other than the project
>> root.
>>
>> Is this specific to maven?
>>
>>> On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki <pi...@gmail.com>
>> wrote:
>>>
>>> Hi Guys,
>>>
>>> I have some project where the main file of application is in folder
>>>
>>> myrootfolder/src/foo/view/royale/Main.mxml
>>>
>>> When I'm compiling application to JS only bin folder is being created
>>> inside:
>>>
>>> myrootfolder/src/foo/view/royale/bin
>>>
>>> Is it a bug ?
>>>
>>> It may be worth to mention that in source-path I have two items:
>>>
>>> <source-path append="true">
>>> <path-element>puremvc-as3-multicore-framework\src</path-element>
>>> <path-element>src</path-element>
>>> </source-path>
>>>
>>> I have found that for example when I'm compiling JewelExample which
>>> contains also main file deeper inside structure src/main/royale - bin
>>> folder is placed in the root folder of the project. - Which I consider as
>>> more correct instead as part of the source.
>>>
>>> Thanks,
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>
>>
Re: JS output produced inside source folder
Posted by Piotr Zarzycki <pi...@gmail.com>.
Nope I'm building from IDE. Maybe this two items in source path have
something to do with it.
On Fri, Dec 14, 2018, 11:51 AM Harbs <ha...@gmail.com> wrote:
> I’ve never seen the bin folder created anywhere other than the project
> root.
>
> Is this specific to maven?
>
> > On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki <pi...@gmail.com>
> wrote:
> >
> > Hi Guys,
> >
> > I have some project where the main file of application is in folder
> >
> > myrootfolder/src/foo/view/royale/Main.mxml
> >
> > When I'm compiling application to JS only bin folder is being created
> > inside:
> >
> > myrootfolder/src/foo/view/royale/bin
> >
> > Is it a bug ?
> >
> > It may be worth to mention that in source-path I have two items:
> >
> > <source-path append="true">
> > <path-element>puremvc-as3-multicore-framework\src</path-element>
> > <path-element>src</path-element>
> > </source-path>
> >
> > I have found that for example when I'm compiling JewelExample which
> > contains also main file deeper inside structure src/main/royale - bin
> > folder is placed in the root folder of the project. - Which I consider as
> > more correct instead as part of the source.
> >
> > Thanks,
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
>
>
Re: JS output produced inside source folder
Posted by Harbs <ha...@gmail.com>.
I’ve never seen the bin folder created anywhere other than the project root.
Is this specific to maven?
> On Dec 14, 2018, at 11:40 AM, Piotr Zarzycki <pi...@gmail.com> wrote:
>
> Hi Guys,
>
> I have some project where the main file of application is in folder
>
> myrootfolder/src/foo/view/royale/Main.mxml
>
> When I'm compiling application to JS only bin folder is being created
> inside:
>
> myrootfolder/src/foo/view/royale/bin
>
> Is it a bug ?
>
> It may be worth to mention that in source-path I have two items:
>
> <source-path append="true">
> <path-element>puremvc-as3-multicore-framework\src</path-element>
> <path-element>src</path-element>
> </source-path>
>
> I have found that for example when I'm compiling JewelExample which
> contains also main file deeper inside structure src/main/royale - bin
> folder is placed in the root folder of the project. - Which I consider as
> more correct instead as part of the source.
>
> Thanks,
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*