You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Josh Tynjala <jo...@gmail.com> on 2017/05/01 14:04:16 UTC

Re: FlexJS : Issue

Make sure that you're building with the same SDK that VSCode is using for
code hinting. It's possible to accidentally use different SDKs!

- Josh

On Apr 29, 2017 11:47 AM, "PKumar" <pr...@gmail.com> wrote:

> Yesterday only I downloaded the nightly build.  I am getting the Table tag
> under code hint. So it should work.
>
> On 30-Apr-2017 12:14 AM, "piotrz [via Apache Flex Users]" <
> ml+s2333346n15146h11@n4.nabble.com> wrote:
>
> > Hi Prashant,
> >
> > Are you sure you are using the newest version? Look into your sdk folder
> > and search Table class.
> >
> > Piotr
> > Apache Flex PMC
> > piotrzarzycki21@gmail.com
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> > http://apache-flex-users.2333346.n4.nabble.com/FlexJS-
> > js-Table-Issue-tp15145p15146.html
> > To start a new topic under Apache Flex Users, email
> > ml+s2333346n1h16@n4.nabble.com
> > To unsubscribe from Apache Flex Users, click here
> > <http://apache-flex-users.2333346.n4.nabble.com/
> template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=
> cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> > .
> > NAML
> > <http://apache-flex-users.2333346.n4.nabble.com/
> template/NamlServlet.jtp?macro=macro_viewer&id=instant_
> html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.
> BasicNamespace-nabble.view.web.template.NabbleNamespace-
> nabble.view.web.template.NodeNamespace&breadcrumbs=
> notify_subscribers%21nabble%3Aemail.naml-instant_emails%
> 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> >
>
>
>
>
> -----
> Regards,
> Prashant
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15147.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Re: FlexJS : Issue

Posted by Josh Tynjala <jo...@gmail.com>.
If FLEX_HOME is not set, these tools will also check the PATH environment
variable for any directories that contain FlexJS executables, and they will
try to find the root SDK folder from there.

This behavior is documented for both tools:

In the installation instructions for the NextGenAS VSCode extension:
https://github.com/BowlerHatLLC/vscode-nextgenas/wiki/Install-the-NextGen-ActionScript-extension

In the README for asconfigc:
https://github.com/BowlerHatLLC/asconfigc

- Josh

On Wed, May 3, 2017 at 2:34 PM, piotrz <pi...@gmail.com> wrote:

> Hi Josh,
>
> That's really interesting information, that your plugin can take value from
> environment variable FLEX_HOME.
>
> Thanks for sharing!
>
> P.S. You should document it if it's not anywhere.
>
> Piotr
>
>
>
> -----
> Apache Flex PMC
> piotrzarzycki21@gmail.com
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15168.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Re: FlexJS : Issue

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

That's really interesting information, that your plugin can take value from
environment variable FLEX_HOME.

Thanks for sharing!

P.S. You should document it if it's not anywhere.

Piotr



-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15168.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: FlexJS : Issue

Posted by Josh Tynjala <jo...@gmail.com>.
It sounds like asconfigc may have been defaulting to your FLEX_HOME
environment variable when compiling the project. If you're not careful, the
value that you set for FLEX_HOME isn't necessarily the same as the value
that you set for the nextgenas.sdk.editor setting in VSCode.

There are two good ways to avoid this conflict:

1) Let both asconfigc and VSCode fall back to the FLEX_HOME environment
variable. Don't set the --flexHome option for asconfigc and don't set the
nextgenas.sdk.editor setting in VSCode. Both will default to FLEX_HOME, if
it's set to a valid SDK.

2) Set the --flexHome option for asconfigc to the same value as the
nextgenas.sdk.editor setting.

Basically, either let both tools automatically detect the SDK from
FLEX_HOME or explicitly set the SDK in both tools.

- Josh

On Wed, May 3, 2017 at 12:41 PM, PKumar <pr...@gmail.com> wrote:

> Josh,
>
> This issue has been resolved  via setting same SDK for editor & FLEX_HOME.
> Big Thanks.
>
> Regards,
> Prashant
>
>
>
> -----
> Regards,
> Prashant
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15161.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Re: FlexJS : Issue

Posted by PKumar <pr...@gmail.com>.
Josh,

This issue has been resolved  via setting same SDK for editor & FLEX_HOME.
Big Thanks.

Regards,
Prashant



-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15161.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: FlexJS : Issue

Posted by PKumar <pr...@gmail.com>.
Hi Josh,

I am using FlexJS nightly SDk  with Editor and FlexHome is set to flexJS
sdk070. 



-----
Regards,
Prashant
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/FlexJS-js-Table-Issue-tp15145p15160.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.