Re: JS output produced inside source folder

2018-12-14 Thread Josh Tynjala
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  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"  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  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 
> 
> > wrote:
> > >
> > > I mean't there VSCode* - sweet dictionary! :)
> > >
> > > On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki 
> 
> > > 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  wrote:
> > >>
> > >>> Why do you have src there? What happens if you remove it?
> > >>>
> >  On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <
> > piotrzarzyck...@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  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 <
> > >>> piotrzarzyck...@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:
> > >>
> > >> 
> > >>
> puremvc-as3-multicore-framework\src
> > >>src
> > >> 
> > >>
> > >> 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=02%7C01%7Caharui%40adobe.com%7C6c83eebaeb3a40c62b9308d661cb5f31%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803923435480140=WdPtBRGHxSxlcZcCLdGHUNpOGnoMGoyPtpcZIrnIv%2FU%3D=0
> > >> 
> *
> > >
> > >
> > >>>
> > >>>
> >
> >
> 
> -- 
> 
> Piotr Zarzycki
> 
> Patreon: 
> *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki=02%7C01%7Caharui%40adobe.com%7C6c83eebaeb3a40c62b9308d661cb5f31%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636803923435480140=WdPtBRGHxSxlcZcCLdGHUNpOGnoMGoyPtpcZIrnIv%2FU%3D=0
> 
> 

Re: JS output produced inside source folder

2018-12-14 Thread Piotr Zarzycki
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 
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  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 
>> wrote:
>> >
>> > I mean't there VSCode* - sweet dictionary! :)
>> >
>> > On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki > >
>> > 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  wrote:
>> >>
>> >>> Why do you have src there? What happens if you remove it?
>> >>>
>>  On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <
>> piotrzarzyck...@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  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 <
>> >>> piotrzarzyck...@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:
>> >>
>> >> 
>> >>puremvc-as3-multicore-framework\src
>> >>src
>> >> 
>> >>
>> >> 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
>> >> *
>> >
>> >
>> >>>
>> >>>
>>
>>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: JS output produced inside source folder

2018-12-14 Thread Piotr Zarzycki
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  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 
> wrote:
> >
> > I mean't there VSCode* - sweet dictionary! :)
> >
> > On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki 
> > 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  wrote:
> >>
> >>> Why do you have src there? What happens if you remove it?
> >>>
>  On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki <
> piotrzarzyck...@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  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 <
> >>> piotrzarzyck...@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:
> >>
> >> 
> >>puremvc-as3-multicore-framework\src
> >>src
> >> 
> >>
> >> 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
> >> *
> >
> >
> >>>
> >>>
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: JS output produced inside source folder

2018-12-14 Thread Harbs
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  wrote:
> 
> I mean't there VSCode* - sweet dictionary! :)
> 
> On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki 
> 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  wrote:
>> 
>>> Why do you have src there? What happens if you remove it?
>>> 
 On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki 
>>> 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  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 <
>>> piotrzarzyck...@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:
>> 
>> 
>>puremvc-as3-multicore-framework\src
>>src
>> 
>> 
>> 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
>> *
> 
> 
>>> 
>>> 



Re: JS output produced inside source folder

2018-12-14 Thread Piotr Zarzycki
I mean't there VSCode* - sweet dictionary! :)

On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki 
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  wrote:
>
>> Why do you have src there? What happens if you remove it?
>>
>> > On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki 
>> 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  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 <
>> piotrzarzyck...@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:
>> >>>
>> >>> 
>> >>> puremvc-as3-multicore-framework\src
>> >>> src
>> >>> 
>> >>>
>> >>> 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
>> >>> *
>> >>
>> >>
>>
>>


Re: JS output produced inside source folder

2018-12-14 Thread Piotr Zarzycki
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  wrote:

> Why do you have src there? What happens if you remove it?
>
> > On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki 
> 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  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 <
> piotrzarzyck...@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:
> >>>
> >>> 
> >>> puremvc-as3-multicore-framework\src
> >>> src
> >>> 
> >>>
> >>> 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
> >>> *
> >>
> >>
>
>


Re: JS output produced inside source folder

2018-12-14 Thread Harbs
Why do you have src there? What happens if you remove it?

> On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki  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  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 
>> 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:
>>> 
>>> 
>>> puremvc-as3-multicore-framework\src
>>> src
>>> 
>>> 
>>> 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
>>> *
>> 
>> 



Re: JS output produced inside source folder

2018-12-14 Thread Piotr Zarzycki
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  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 
> 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:
> >
> > 
> >  puremvc-as3-multicore-framework\src
> >  src
> > 
> >
> > 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
> > *
>
>


Re: JS output produced inside source folder

2018-12-14 Thread Harbs
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  
> 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:
> 
> 
>  puremvc-as3-multicore-framework\src
>  src
> 
> 
> 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
> *