If you want to compile FlexJS framework apps that also have an HTML file, Om needs to expose the mxmlc compiler in js/bin too. asjsc is meant to be integrated into a larger workflow where you use the generated JS with your own custom HTML, styles, etc.
- Josh On Mon, Jan 4, 2016 at 1:05 PM, Harbs <harbs.li...@gmail.com> wrote: > OK. That did it. > > I got the sample to compile. > > Amazing work! > > It would be cool if we could get the html file to be created as well. > > On Jan 4, 2016, at 10:43 PM, Harbs <harbs.li...@gmail.com> wrote: > > > Whoops. I installed JRE rather than JDK. > > > > Installing JDK now… > > > > On Jan 4, 2016, at 10:40 PM, OmPrakash Muppirala <bigosma...@gmail.com> > wrote: > > > >> On Mon, Jan 4, 2016 at 12:36 PM, Harbs <harbs.li...@gmail.com> wrote: > >> > >>> Yes. That was the problem. > >>> > >>> Next issue: > >>> > >>> I tried installing this on a non-developement machine which apparently > did > >>> not have Java installed. When trying to run asjsc, I get a warning > that “No > >>> Java runtime preset”. Even after installing Java, I still get this > error. > >>> > >>> Do I need to re-install flexjs after installing Java? If yes, you > should > >>> probably make Java a prerequisite BEFORE installing FlexJS. > >>> > >> > >> Is Java in the path? If you run "java -version" do you get anything? > >> > >> Thanks, > >> Om > >> > >> > >>> > >>> On Jan 4, 2016, at 9:53 PM, OmPrakash Muppirala <bigosma...@gmail.com> > >>> wrote: > >>> > >>>> Looks like you did not do a -g when you did the install. Can you > double > >>>> check? > >>> > >>> > > > >