The extension doesn’t work in a browser because vscode-as3mxml and royale-compiler require a Java JDK and to launch executables.
-- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev> On Sun, Sep 29, 2024 at 2:21 PM Yishay Weiss <yishayj...@hotmail.com> wrote: > There's a browser based version of VS Code [1] but I don't know if it > works with the as3/mxml extension. > > [1] Welcome - Workspace - Visual Studio Code (vscode.dev) > <https://vscode.dev/> > Visual Studio Code for the Web <https://vscode.dev/> > Build with Visual Studio Code, anywhere, anytime, entirely in your browser. > vscode.dev > > ------------------------------ > *From:* Jim McNamara <jmcnamara10...@proton.me> > *Sent:* Saturday, September 28, 2024 11:08 PM > *To:* users@royale.apache.org <users@royale.apache.org> > *Subject:* Re: lightweight editor for royale > > i looked at ant in chat gpt with apache royale i will try that and keep > digging. I dont think moonsnhine works on linux. > > I am posting a video of my docker work to date and I want to start coding > in apache royale very soon with no more complicated installs in docker. > > Here is what the chatgpt AI said about apache ant with royale... > > Step 1: Set Up Your Environment > > 1. > > *Install Apache Royale*: Make sure you have Apache Royale installed. > You can follow the installation guide > <https://royale.apache.org/docs/installation/> on the official site. > 2. > > *Install Apache Ant*: Download and install Apache Ant from the official > site <https://ant.apache.org/>. > > Step 2: Create a Sample Royale Project > > 1. > > *Create Project Structure*: > > arduino > Copy code > my-royale-project/ > ├── src/ > │ └── MyApplication.mxml > ├── build.xml > └── royale-config.xml > > 2. > > *Create MyApplication.mxml*: > > xml > Copy code > <?xml version="1.0" encoding="utf-8"?><s:Application > xmlns:fx="http://ns.adobe.com/mxml/2009" > xmlns:s="library://ns.adobe.com/flex/spark"> > <s:Label text="Hello, Apache Royale!" /></s:Application> > > 3. > > *Create royale-config.xml*: > > xml > Copy code > <royale-config> > <output> > <output-path>bin</output-path> > <swf-output-name>MyApplication.swf</swf-output-name> > </output></royale-config> > > > Step 3: Create the build.xml File > > Here’s a basic example of a build.xml for your Apache Royale project: > > xml > Copy code > <project name="MyRoyaleProject" default="build" basedir="."> > > <property name="royale.home" location="/path/to/royale-sdk"/> > <property name="src.dir" location="src"/> > <property name="build.dir" location="bin"/> > > <target name="clean"> > <delete dir="${build.dir}"/> > </target> > > <target name="compile"> > <mkdir dir="${build.dir}"/> > <royale:compile src="${src.dir}" output="${build.dir}" > royale.home="${royale.home}"/> > </target> > > <target name="build" depends="clean, compile"> > <echo message="Build completed successfully."/> > </target> > </project> > > Step 4: Build the Project > > 1. > > Open a terminal and navigate to your project directory: > > sh > Copy code > cd path/to/my-royale-project > > 2. > > Run the Ant build: > > sh > Copy code > ant > > > Step 5: Check the Output > > After running the build, check the bin directory for the MyApplication.swf > file. You can then test it using a Flash Player or embed it in an HTML page. > > > Sent with Proton Mail <https://proton.me/mail/home> secure email. > > On Saturday, September 28th, 2024 at 5:56 PM, Jim McNamara < > jmcnamara10...@proton.me> wrote: > > Can you use it on linux? > > > Sent with Proton Mail <https://proton.me/mail/home> secure email. > > On Saturday, September 28th, 2024 at 5:39 PM, Andrew Wetmore < > cottag...@gmail.com> wrote: > > Is Moonshine too heavy an IDE for your purposes? > > On Sat, Sept 28, 2024, 6:36 p.m. Jim McNamara <jmcnamara10...@proton.me> > wrote: > > > Hi all- > > Is there anything that is really lite weight we can use to develop apache > royale with in linux? I am hoping to use mxmlc. > > I am trying to shy away for now something heavier because i spent a lot of > time getting tools in place for my project but i dont want to struggle with > a big ide at this moment. I got luckybackup to work over xforwarding with > an ssh tunnel and windows cifs share. I can get ant and java to work too > but to put visual studio code install in docker right now makes me think i > will never get this project off the ground with all these add ons. > > Can you use something like geany or such with mxmlc or just ant. I have > ant figured out in my project kind of. If ant, where are the examples for > building with it please? > > thanks, > j. mcnamara > > > > Sent with Proton Mail secure email. > > > >