You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Olaf Krueger <po...@olafkrueger.net> on 2017/08/16 05:50:11 UTC

[Moonshine] "Class files allowed to create inside source folder"

Hi, 
I am not able to create new files inside a project using Moonshine.

Steps to reproduce:
- Create a new FlexJS project using the Moonshine wizard
- Create a new folder 'test' inside 'src'
- File->New->AS3 class

Whether 'src' or 'test' is selected, it always throws 'Class files allowed
to create inside source folder' [1]

Do I miss something?

Thanks,
Olaf

[1] https://snag.gy/Kjp0NZ.jpg






--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Moonshine-Class-files-allowed-to-create-inside-source-folder-tp15755.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: [Moonshine] "Class files allowed to create inside source folder"

Posted by Olaf Krueger <po...@olafkrueger.net>.
FYI:
We started investigating what causes this error under Windows 7 and it could
be that the latest Windows 7 update has something to do with it.
I also notice some problems with VSCode. It seems that it is no longer able
to create the target folders for the transpiled code if there are not
already there...


Thanks,
Olaf




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Moonshine-Class-files-allowed-to-create-inside-source-folder-tp15755p15781.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: [Moonshine] "Class files allowed to create inside source folder"

Posted by piotrz <pi...@gmail.com>.
Olaf,

Great to hear that! :) If you will have some code completion problem in
Nightly build of FlexJS just comment out from frameworks\flex-config.xml
line -  <fxg-base-class>flash.display.Sprite</fxg-base-class>

It's temporary we need to release next version of FlexJS [1]

[1]
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Failing-build-for-simple-example-td63695.html

Thanks,
Piotr



-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Moonshine-Class-files-allowed-to-create-inside-source-folder-tp15755p15765.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: [Moonshine] "Class files allowed to create inside source folder"

Posted by Olaf Krueger <po...@olafkrueger.net>.
Piotr, thanks for your effort!!
I've also just installed Moonshine 1.5.1 on a fresh Windows10 machine and it
works.
It was the first time that I've installed Moonshine on such a fresh machine
and I would like to mention that it was a smooth installation process cause
of the embedded SDK installer, good job!

The only thing that I've found is that it's maybe a good idea  to mention to
install Java at first.

Regarding my Windows7 machine at work, I really think that there's something
broken.
I'll try the steps that you suggested soon.

Thanks,
Olaf




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Moonshine-Class-files-allowed-to-create-inside-source-folder-tp15755p15764.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: [Moonshine] "Class files allowed to create inside source folder"

Posted by piotrz <pi...@gmail.com>.
Olaf,

I just install Moonshine 1.5.1 on fresh Windows 7 Ultimate PC. I tried your
steps and everything was working. I was able create folder and later class. 

I have no idea how can I help you. Try my previous suggestion.

Thanks,
Piotr



-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Moonshine-Class-files-allowed-to-create-inside-source-folder-tp15755p15763.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: [Moonshine] "Class files allowed to create inside source folder"

Posted by piotrz <pi...@gmail.com>.
Hi Olaf,

I just tried on windows 10 and everything is fine. I just let know to
Santanu about that. I will test your problem on Windows 7 later today.

Did you update your version of Moonshine or it was new fresh install and you
didn't have previously installed moonshine ?

Maybe try to reinstall this version and make sure that after un-installation
your settings was also removed: AppData\Roaming\com.moonshine-ide.

Thanks,
Piotr




-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Moonshine-Class-files-allowed-to-create-inside-source-folder-tp15755p15759.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: [Moonshine] "Class files allowed to create inside source folder"

Posted by Olaf Krueger <po...@olafkrueger.net>.
Forgot to mention: Windows7/64bit
Maybe there's an issue with my computer, so it would be helpful to know if
somebody could reproduce this issue or even not...

Thanks,
Olaf





--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Moonshine-Class-files-allowed-to-create-inside-source-folder-tp15755p15757.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: [Moonshine] "Class files allowed to create inside source folder"

Posted by Olaf Krueger <po...@olafkrueger.net>.
There is a typo, it should be:
"Class files allowed to create inside source folder only"



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Moonshine-Class-files-allowed-to-create-inside-source-folder-tp15755p15756.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.