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 <[email protected]> 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 <[email protected]> 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 <[email protected]> >> wrote: >> > >> > I mean't there VSCode* - sweet dictionary! :) >> > >> > On Fri, Dec 14, 2018, 1:42 PM Piotr Zarzycki <[email protected] >> > >> > 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 <[email protected]> wrote: >> >> >> >>> Why do you have src there? What happens if you remove it? >> >>> >> >>>> On Dec 14, 2018, at 2:03 PM, Piotr Zarzycki < >> [email protected]> >> >>> 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 <[email protected]> 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 < >> >>> [email protected]> >> >>>>> 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>*
