Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFB8B18373 for ; Tue, 29 Dec 2015 17:14:51 +0000 (UTC) Received: (qmail 535 invoked by uid 500); 29 Dec 2015 17:14:51 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 489 invoked by uid 500); 29 Dec 2015 17:14:51 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 476 invoked by uid 99); 29 Dec 2015 17:14:51 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2015 17:14:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A29DB1A00C6 for ; Tue, 29 Dec 2015 17:14:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.13 X-Spam-Level: *** X-Spam-Status: No, score=3.13 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id C0yEj8hFzPxU for ; Tue, 29 Dec 2015 17:14:43 +0000 (UTC) Received: from mail-vk0-f42.google.com (mail-vk0-f42.google.com [209.85.213.42]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 8488B2114F for ; Tue, 29 Dec 2015 17:14:42 +0000 (UTC) Received: by mail-vk0-f42.google.com with SMTP id a123so35749522vkh.1 for ; Tue, 29 Dec 2015 09:14:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=HC4AJByHnJ1D5Cfttt7CG87wvNFEK2by9yiRf74RAxg=; b=QAkQMaRoGH8mHjlyFs8LC13+LTRoLZJ3ykstEMrcAukzv7LxVo1ngRmmKVq1Cq0RzJ dfKruzC9D8Ja7phrb0IUjHbaIGbsTaspfvtnop9ofLAv0XD281K3Jbn43TOtPxDlqNPO J34HH8QhuVNGvFP2Mt9omwHhPMNT4YUDFJ6dHsBuoUZPMt3Zj/bqi9Y6Q10bZDTMERft Saqgb7QCxna5IqJboNpcTTJPCq0xye690JzZVXd2Ck+QAbHzviGZXuOUyp7+wk8OMLmW T1zs266IgdF9CJWMAzbiMNQwv97Y0qjbwM0yyNnW2FSGBSxubVbTWQAWdtKppNSr0pJ2 MJqg== MIME-Version: 1.0 X-Received: by 10.31.10.199 with SMTP id 190mr39727308vkk.51.1451409281075; Tue, 29 Dec 2015 09:14:41 -0800 (PST) Sender: omuppi1@gmail.com Received: by 10.31.224.129 with HTTP; Tue, 29 Dec 2015 09:14:40 -0800 (PST) Received: by 10.31.224.129 with HTTP; Tue, 29 Dec 2015 09:14:40 -0800 (PST) In-Reply-To: References: Date: Tue, 29 Dec 2015 09:14:40 -0800 X-Google-Sender-Auth: R-45d91103hqHI2RnJPwEBuxYH8 Message-ID: Subject: Re: [FlexJS] npm install flexjs From: OmPrakash Muppirala To: dev@flex.apache.org Content-Type: multipart/alternative; boundary=001a114401769f51c805280c8e66 --001a114401769f51c805280c8e66 Content-Type: text/plain; charset=UTF-8 Yes, the folder structures are (should be) the same. The weird thing is that asjscompc is working fine without this error. Can you try it out based on the instructions in the other thread? I am sure some things are obvious to you and easy to catch. Thanks, Om On Dec 29, 2015 7:09 AM, "Alex Harui" wrote: > Have you compared the folder structures from npm install vs the installer? > Should they be the same? > > -Alex > > On 12/29/15, 1:04 AM, "omuppi1@gmail.com on behalf of OmPrakash Muppirala" > wrote: > > >I got the FlexJS 0.5 installed via the Installer and the call to asjsc > >from > >that folder seems to work fine. > > > >So, I don't think it is a Java version conflict. > > > >Any other ideas? > > > >Thanks, > >Om > > > >On Mon, Dec 28, 2015 at 3:03 AM, Michael Schmalle > > >> wrote: > > > >> Just shooting in the dark but some type of Java version conflict? It > >>seems > >> familiar to me like that could be a possibility. > >> > >> Mike > >> > >> On Mon, Dec 28, 2015 at 4:34 AM, OmPrakash Muppirala > >> >> > > >> wrote: > >> > >> > I have this working locally. If the user has npm and Java installed > >>on > >> > their machine, they can now simply do: > >> > > >> > *npm install flexjs -g* > >> > (or should it be npm install apache-flexjs -g?) > >> > > >> > This will download all the dependencies (which has some bugs for now, > >> will > >> > get to that in a bit), register the asjsc and asjscompc files as > >>global > >> > binaries. > >> > > >> > One issue I am currently facing is, when I do this: > >> > > >> > > >> > > >> > >>C:\Users\omuppirala\AppData\Roaming\npm\node_modules\flexjs\examples\nati > >>ve\USStatesMap\src>asjsc > >> > USStatesMap.as > >> > > >> > I am getting this error: > >> > Error: Could not find or load main class > >> > org.apache.flex.compiler.clients.MXMLJSC > >> > > >> > This looks familiar, but I am not sure what I am doing wrong. > >> > > >> > Any pointers? > >> > > >> > P.S. I will upload this flexjs npm module as a tarball on to my > >>personal > >> > site from where the rest of the folks can test. Once we iron out all > >>the > >> > kinks, I will set about publishing the module to the npm repository. > >> > > >> > Thanks, > >> > Om > >> > > >> > > --001a114401769f51c805280c8e66--