You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Harbs <ha...@gmail.com> on 2016/11/23 10:09:14 UTC

Sublime Text and FlexJS

FYI:

I accidentally hit Command B in Sublime Text today while working on a FlexJS project. My project  had a build.xml file for ant builds in it because I was using the command line for building.

It turns out that Sublime Text automatically realizes that the project can be built with ant and goes ahead and does that for you if you hit Command B. The output shows up in an output pane. You can even build while working on unsaved build.xml files to see the result of changes without saving the file first. Very handy!

I have no idea how to make Sublime Text build using Maven, but maybe that’s something worth looking into. (I don’t see Maven listed in the list of Build Systems.)

Harbs

Re: Sublime Text and FlexJS

Posted by Josh Tynjala <jo...@gmail.com>.
asconfig.json has a "type" field that you can set to "lib" (if omitted, it
defaults to "app"). asconfigc will use the appropriate compc compiler
instead.

- Josh

On Nov 23, 2016 3:05 AM, "Harbs" <ha...@gmail.com> wrote:

> Cool. I’ll have to check that out.
>
> I have the VS Code extension building a project as well, but I was not
> sure how to set it up to build a library swc.
>
> One day when I have time, I should probably look into build tasks for VS
> Code.
>
> On Nov 23, 2016, at 12:36 PM, Carlos Rovira <ca...@codeoscopic.com>
> wrote:
>
> > Hi Harbs,
> >
> > I got this for VSCode and NextGen Extension. If you get MDLExample and
> hit
> > CTRL+CMD+B it builds using maven with the config I uploaded
> > As well if you debug with one of the two task (Chrome or Firefox), first
> I
> > configure to run maven build and then launch the browser
> >
> > As you said, very handy :)
> >
> >
> >
> > 2016-11-23 11:09 GMT+01:00 Harbs <ha...@gmail.com>:
> >
> >> FYI:
> >>
> >> I accidentally hit Command B in Sublime Text today while working on a
> >> FlexJS project. My project  had a build.xml file for ant builds in it
> >> because I was using the command line for building.
> >>
> >> It turns out that Sublime Text automatically realizes that the project
> can
> >> be built with ant and goes ahead and does that for you if you hit
> Command
> >> B. The output shows up in an output pane. You can even build while
> working
> >> on unsaved build.xml files to see the result of changes without saving
> the
> >> file first. Very handy!
> >>
> >> I have no idea how to make Sublime Text build using Maven, but maybe
> >> that’s something worth looking into. (I don’t see Maven listed in the
> list
> >> of Build Systems.)
> >>
> >> Harbs
> >
> >
> >
> >
> > --
> >
> > Carlos Rovira
> > Director General
> > M: +34 607 22 60 05
> > http://www.codeoscopic.com
> > http://www.avant2.es
> >
> > Este mensaje se dirige exclusivamente a su destinatario y puede contener
> > información privilegiada o confidencial. Si ha recibido este mensaje por
> > error, le rogamos que nos lo comunique inmediatamente por esta misma vía
> y
> > proceda a su destrucción.
> >
> > De la vigente Ley Orgánica de Protección de Datos (15/1999), le
> comunicamos
> > que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
> > S.A. La finalidad de dicho tratamiento es facilitar la prestación del
> > servicio o información solicitados, teniendo usted derecho de acceso,
> > rectificación, cancelación y oposición de sus datos dirigiéndose a
> nuestras
> > oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
> > necesaria.
>
>

Re: Sublime Text and FlexJS

Posted by Carlos Rovira <ca...@codeoscopic.com>.
You could check MaterialDesignLite swc library as well :)

2016-11-23 12:03 GMT+01:00 Harbs <ha...@gmail.com>:

> Cool. I’ll have to check that out.
>
> I have the VS Code extension building a project as well, but I was not
> sure how to set it up to build a library swc.
>
> One day when I have time, I should probably look into build tasks for VS
> Code.
>
> On Nov 23, 2016, at 12:36 PM, Carlos Rovira <ca...@codeoscopic.com>
> wrote:
>
> > Hi Harbs,
> >
> > I got this for VSCode and NextGen Extension. If you get MDLExample and
> hit
> > CTRL+CMD+B it builds using maven with the config I uploaded
> > As well if you debug with one of the two task (Chrome or Firefox), first
> I
> > configure to run maven build and then launch the browser
> >
> > As you said, very handy :)
> >
> >
> >
> > 2016-11-23 11:09 GMT+01:00 Harbs <ha...@gmail.com>:
> >
> >> FYI:
> >>
> >> I accidentally hit Command B in Sublime Text today while working on a
> >> FlexJS project. My project  had a build.xml file for ant builds in it
> >> because I was using the command line for building.
> >>
> >> It turns out that Sublime Text automatically realizes that the project
> can
> >> be built with ant and goes ahead and does that for you if you hit
> Command
> >> B. The output shows up in an output pane. You can even build while
> working
> >> on unsaved build.xml files to see the result of changes without saving
> the
> >> file first. Very handy!
> >>
> >> I have no idea how to make Sublime Text build using Maven, but maybe
> >> that’s something worth looking into. (I don’t see Maven listed in the
> list
> >> of Build Systems.)
> >>
> >> Harbs
> >
> >
> >
> >
> > --
> >
> > Carlos Rovira
> > Director General
> > M: +34 607 22 60 05
> > http://www.codeoscopic.com
> > http://www.avant2.es
> >
> > Este mensaje se dirige exclusivamente a su destinatario y puede contener
> > información privilegiada o confidencial. Si ha recibido este mensaje por
> > error, le rogamos que nos lo comunique inmediatamente por esta misma vía
> y
> > proceda a su destrucción.
> >
> > De la vigente Ley Orgánica de Protección de Datos (15/1999), le
> comunicamos
> > que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
> > S.A. La finalidad de dicho tratamiento es facilitar la prestación del
> > servicio o información solicitados, teniendo usted derecho de acceso,
> > rectificación, cancelación y oposición de sus datos dirigiéndose a
> nuestras
> > oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
> > necesaria.
>
>


-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Re: Sublime Text and FlexJS

Posted by Harbs <ha...@gmail.com>.
Cool. I’ll have to check that out.

I have the VS Code extension building a project as well, but I was not sure how to set it up to build a library swc.

One day when I have time, I should probably look into build tasks for VS Code.

On Nov 23, 2016, at 12:36 PM, Carlos Rovira <ca...@codeoscopic.com> wrote:

> Hi Harbs,
> 
> I got this for VSCode and NextGen Extension. If you get MDLExample and hit
> CTRL+CMD+B it builds using maven with the config I uploaded
> As well if you debug with one of the two task (Chrome or Firefox), first I
> configure to run maven build and then launch the browser
> 
> As you said, very handy :)
> 
> 
> 
> 2016-11-23 11:09 GMT+01:00 Harbs <ha...@gmail.com>:
> 
>> FYI:
>> 
>> I accidentally hit Command B in Sublime Text today while working on a
>> FlexJS project. My project  had a build.xml file for ant builds in it
>> because I was using the command line for building.
>> 
>> It turns out that Sublime Text automatically realizes that the project can
>> be built with ant and goes ahead and does that for you if you hit Command
>> B. The output shows up in an output pane. You can even build while working
>> on unsaved build.xml files to see the result of changes without saving the
>> file first. Very handy!
>> 
>> I have no idea how to make Sublime Text build using Maven, but maybe
>> that’s something worth looking into. (I don’t see Maven listed in the list
>> of Build Systems.)
>> 
>> Harbs
> 
> 
> 
> 
> -- 
> 
> Carlos Rovira
> Director General
> M: +34 607 22 60 05
> http://www.codeoscopic.com
> http://www.avant2.es
> 
> Este mensaje se dirige exclusivamente a su destinatario y puede contener
> información privilegiada o confidencial. Si ha recibido este mensaje por
> error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
> proceda a su destrucción.
> 
> De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
> que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
> S.A. La finalidad de dicho tratamiento es facilitar la prestación del
> servicio o información solicitados, teniendo usted derecho de acceso,
> rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
> oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
> necesaria.


Re: Sublime Text and FlexJS

Posted by Carlos Rovira <ca...@codeoscopic.com>.
Hi Harbs,

I got this for VSCode and NextGen Extension. If you get MDLExample and hit
CTRL+CMD+B it builds using maven with the config I uploaded
As well if you debug with one of the two task (Chrome or Firefox), first I
configure to run maven build and then launch the browser

As you said, very handy :)



2016-11-23 11:09 GMT+01:00 Harbs <ha...@gmail.com>:

> FYI:
>
> I accidentally hit Command B in Sublime Text today while working on a
> FlexJS project. My project  had a build.xml file for ant builds in it
> because I was using the command line for building.
>
> It turns out that Sublime Text automatically realizes that the project can
> be built with ant and goes ahead and does that for you if you hit Command
> B. The output shows up in an output pane. You can even build while working
> on unsaved build.xml files to see the result of changes without saving the
> file first. Very handy!
>
> I have no idea how to make Sublime Text build using Maven, but maybe
> that’s something worth looking into. (I don’t see Maven listed in the list
> of Build Systems.)
>
> Harbs




-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.