Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread piotrz
Chris,

Great video! Love it! I think Santanu has everything what he need in order
to start. :)

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60909.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread Alex Harui
Hi Santanu,

That's strange, my sent mail folder shows I responded on Sunday, but it
looks like it never made it to the lists.  Here's what I sent.

I sent you a modified .java file.  In order to use that
file you will need to build the flex-falcon repo and use the results.  It
doesn't sound like you did that, and the output doesn't show any of the
output I would expect.  I don't want to commit the extra output to the
nightly build because it slows down the compilation a lot.

I think it is time for you to use Ant or Maven to build the flex-falcon,
flex-typedefs and flex-asjs repos and learn to use those in development.

Thanks,
-Alex



On 3/29/17, 12:56 AM, "sankar"  wrote:

>Hi Alex,
>
>I have posted the compilation log after updating by the file you sent me
>in
>mail (3rd last comment). Have you reviewed that post (?)
>
>Thanks!
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-MDL-Project-is-failing-to-com
>pile-help-tp60668p60890.html=02%7C01%7C%7C8c5d781b0f58488a2cba08d4767
>a3e11%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636263714775837272
>a=Dp94b9EQCSW7azM7hyMEQLpgWYUStXKIZcHBx6UX4QQ%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread Josh Tynjala
Building the FlexJS repositories with Maven is really easy. Check out the
instructions here:

https://cwiki.apache.org/confluence/display/FLEX/Building+FlexJS+with+Maven

- Josh

On Wed, Mar 29, 2017 at 5:19 AM, sankar <santanu4...@gmail.com> wrote:

> Hi,
>
> Since the latest release is utterly broken for me, I'm looking for how I
> can
> do Maven builds. I have some queries on this, if someone from here please
> guide me.
>
> #1 Maven for compiling example projects, or to run inside "flex-asjs"
> folder
> and compile new SDK release version?
> #2 What are the commands I should run, and where, can I get some guidance
> on
> this?
>
> Thanks!
>
>
>
> --
> View this message in context: http://apache-flex-
> development.247.n4.nabble.com/FlexJS-MDL-Project-is-
> failing-to-compile-help-tp60668p60894.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread Christofer Dutz
Hi Sankar,

I would definitely suggest to have a look at the training video on Maven to get 
a general Idea on Maven itself.
https://vimeo.com/167857327/da3e3239bc

For a quick list of commands, have a look at README_MAVEN.txt in the compiler 
repo … that contains the most important ones.

Chris


Am 29.03.17, 13:19 schrieb "sankar" <santanu4...@gmail.com>:

Hi,

Since the latest release is utterly broken for me, I'm looking for how I can
do Maven builds. I have some queries on this, if someone from here please
guide me.

#1 Maven for compiling example projects, or to run inside "flex-asjs" folder
and compile new SDK release version?
#2 What are the commands I should run, and where, can I get some guidance on
this?

Thanks!



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60894.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread piotrz
Santanu,

I will try to describe you in details later today - if someone not beat me
earlier. If not today I will try to do this over the weekend.

In the meantime you can check how look like my pom for TourJS project [1] -
It is a good example of pom for external project outside our FlexJS SDK.

[1] https://github.com/apache/flex-tourjs/blob/develop/TourJS/pom.xml

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60895.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread sankar
Hi,

Since the latest release is utterly broken for me, I'm looking for how I can
do Maven builds. I have some queries on this, if someone from here please
guide me.

#1 Maven for compiling example projects, or to run inside "flex-asjs" folder
and compile new SDK release version?
#2 What are the commands I should run, and where, can I get some guidance on
this?

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60894.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-29 Thread sankar
Hi Alex,

I have posted the compilation log after updating by the file you sent me in
mail (3rd last comment). Have you reviewed that post (?)

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60890.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-28 Thread Alex Harui
Hi Santanu,

Nobody else has reported your problem recently.

Again, I think it is time for you to learn to build the repos and do your
development that way so you are not blocked when things get unstable.
Then you could roll back as far as you need to.

Thanks,
-Alex

On 3/28/17, 9:17 PM, "sankar"  wrote:

>Hi,
>
>I see some other build problem posts came up lately.. I am not sure if the
>problem I described are similar to the problems others faced in those
>posts,
>though. But I'm almost out of business! This latest source really ruin the
>whole development here.
>
>Can I get any archive copy of these whole things maybe back from January?
>
>Thanks!
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-MDL-Project-is-failing-to-com
>pile-help-tp60668p60871.html=02%7C01%7C%7C8ab03b159bae40ad76ea08d4765
>bacb3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636263583490920156
>a=UYilx0JyvJht0ZaCRSotwL8Y%2BU4A8dpUgLUP2%2BeVuzs%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-28 Thread sankar
Hi,

I see some other build problem posts came up lately.. I am not sure if the
problem I described are similar to the problems others faced in those posts,
though. But I'm almost out of business! This latest source really ruin the
whole development here. 

Can I get any archive copy of these whole things maybe back from January?

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60871.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-26 Thread sankar
Hi Alex,

Thanks for reaching with this much of help.

I've overwritten the file to
E:\DevareaLocal\ApacheFlexJSFrameworkSource\source\flex-falcon\compiler-jx\src\main\java\org\apache\flex\compiler\internal\codegen\mxml\flexjs
folder.

One thing I should let you know, I generally download falcon compiled source
from
http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/lastSuccessfulBuild/artifact/
to SDK's "/in/" folder, as I often found the Ant script has problem copying
the falcon compiled files to said "in" folder, not sure why, while running
"ant -f installer.xml" inside the SDK folder. So I put the pre-compiled
falcon files to the "in" folder before hand. 

Following is a console output anyway after overwriting the said file:

https://kobra.io/#/e/-Kg8Zv7OtduA9zXUOsnE

Thanks!



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60770.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-24 Thread Alex Harui
Peter's problem was that he didn't subset, so there was more than one
deps.js which fooled the code.  After subsetting, things started working
for him.

Your stack trace says that getProvidedFile in MXMLFlexJSPublisher.java is
throwing an error.  Using System.out.println to print the parameters to
getProvidedFile will give us a clue as to what might be wrong.  Printing
the parameters to SortClosureFile might help as well.

Thanks,
-Alex

On 3/24/17, 9:45 PM, "sankar"  wrote:

>Alex Harui wrote
>> Because the compiler is now trying to compute the order these closure
>> library files are presented to the Google Closure Compiler.  There is
>> something unexpected about your setup.  Do you know enough Java to add
>> System.out.println statements to MXMLFlexJSPublisher.java and figure out
>> what it is tripping on?
>
>Hi Alex,
>
>There were too many methods and I don't know where to put the println
>command actually, moreover I'm wondering what type of strange thing I
>should
>look for.
>
>If you have any doubt if the closure library I mentioned is actually using
>or not, but running this command did confirmed sub-setting the closure
>library folder that is also in my environment variable, already:
>ant -f frameworks/downloads.xml subset-goog
>
>Peter reported he also faced this issue, is he able to resolve it?
>
>Until this latest update all were working smoothly, so I don't know if I
>want to blame my present setup also, including closure library setup.
>
>Thanks!
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-MDL-Project-is-failing-to-com
>pile-help-tp60668p60764.html=02%7C01%7C%7C48de9bd50b8c4ef59f1908d4733
>ae6a1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636260144222011083
>a=IH1u1hAnRu7TQ5I3Qkjy5KPUmvZSz1Yb%2Bgpe64sB18M%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-24 Thread sankar
Alex Harui wrote
> Because the compiler is now trying to compute the order these closure
> library files are presented to the Google Closure Compiler.  There is
> something unexpected about your setup.  Do you know enough Java to add
> System.out.println statements to MXMLFlexJSPublisher.java and figure out
> what it is tripping on?

Hi Alex,

There were too many methods and I don't know where to put the println
command actually, moreover I'm wondering what type of strange thing I should
look for.

If you have any doubt if the closure library I mentioned is actually using
or not, but running this command did confirmed sub-setting the closure
library folder that is also in my environment variable, already:
ant -f frameworks/downloads.xml subset-goog

Peter reported he also faced this issue, is he able to resolve it?

Until this latest update all were working smoothly, so I don't know if I
want to blame my present setup also, including closure library setup. 

Thanks!




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60764.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-24 Thread Alex Harui


On 3/24/17, 8:44 AM, "sankar"  wrote:

>Hi Alex,
>
>There is one "deps.js" file exists inside:
>E:\DevareaLocal\ApacheFlexJSFrameworkSource\closure-library-master\closure
>\goog
>
>One thing I noticed with the newer download, I do not have any 'google'
>folder inside js/lib/google/closure-library:
>
>ex-development.247.n4.nabble.com%2Ffile%2Fn60755%2FUntitled.png=0
>2%7C01%7C%7C7e39c200e74743621a4008d472cdc20b%7Cfa7b1b5a7b34438794aed2c178d
>ecee1%7C0%7C0%7C636259675424481915=xbQKzNk%2BhXEbajcZxCCdpwHKiy1ZOSs
>vO4GMiFixPK8%3D=0>
>
>Is the above scenario is possible if I have a closure library downloaded
>somewhere else (in this case at
>E:\DevareaLocal\ApacheFlexJSFrameworkSource\closure-library-master)?
>
>Why suddenly this procedure starts giving problem when it was working
>smoothly in these setup previously?

Because the compiler is now trying to compute the order these closure
library files are presented to the Google Closure Compiler.  There is
something unexpected about your setup.  Do you know enough Java to add
System.out.println statements to MXMLFlexJSPublisher.java and figure out
what it is tripping on?

Thanks,
-Alex



Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-24 Thread sankar
Hi Alex,

There is one "deps.js" file exists inside:
E:\DevareaLocal\ApacheFlexJSFrameworkSource\closure-library-master\closure\goog

One thing I noticed with the newer download, I do not have any 'google'
folder inside js/lib/google/closure-library:

<http://apache-flex-development.247.n4.nabble.com/file/n60755/Untitled.png> 

Is the above scenario is possible if I have a closure library downloaded
somewhere else (in this case at
E:\DevareaLocal\ApacheFlexJSFrameworkSource\closure-library-master)? 

Why suddenly this procedure starts giving problem when it was working
smoothly in these setup previously?

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60755.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-24 Thread Alex Harui
Hi Santanu,

I can't tell from the screenshots if the subsetting worked or not.  Is
there less than 30 files in that folder?  Is there more than one called
"deps.js"?

-Alex

On 3/24/17, 12:16 AM, "sankar"  wrote:

>Hi Alex,
>
>I do have a GOOG_HOME in my environment variable, and it's set to
>something
>like this:
>E:\DevareaLocal\ApacheFlexJSFrameworkSource\closure-library-master
>
>The framework source folder structure looks like this:
>
>ex-development.247.n4.nabble.com%2Ffile%2Fn60731%2FUntitled.png=0
>2%7C01%7C%7Cb216e094d9554e9cfbb908d47286caba%7Cfa7b1b5a7b34438794aed2c178d
>ecee1%7C0%7C0%7C636259370625300125=BY8YcS9VFMIl1Gq4ncEejq2z2uz7xWiOf
>XguhLRVHuk%3D=0>
>
>This structure used to work gracefully for my compilation until few days
>back.
>
>I also tried running this command inside 'flex-asjs' folder as you
>suggested, which seems completed successfully,
>ant -f frameworks/downloads.xml subset-goog
>ex-development.247.n4.nabble.com%2Ffile%2Fn60731%2FUntitled2.png=
>02%7C01%7C%7Cb216e094d9554e9cfbb908d47286caba%7Cfa7b1b5a7b34438794aed2c178
>decee1%7C0%7C0%7C636259370625300125=USPjeo0z2xsSBH1WcjxmcTnzCnEr38uW
>ho6F0D7%2Fh5k%3D=0>
>
>Thing is I badly stuck with this newest SDK now.
>
>Thanks!
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-MDL-Project-is-failing-to-com
>pile-help-tp60668p60731.html=02%7C01%7C%7Cb216e094d9554e9cfbb908d4728
>6caba%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636259370625300125
>a=pB6S56maHSVP%2FxTubFDFomclBNcUmWBsg3Va%2F6bENxs%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-24 Thread sankar
piotrz wrote
> Post please what do you have in MDLExampleconfig.xml. I was able to build
> MDLExample with following command:
> 
> d:\flex_sdk\flexjs_nightly\js\bin\mxmlc.bat
> d:\flex_sdk\flexjs_nightly\examples\flexjs\MDLExample\src\main\flex\App.mxml
> -accessible=true
> -compiler.exclude-defaults-css-files=HTML.swc:defaults.css
> -html-template=d:/flex_sdk/flexjs_nightly/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
> -locale=en_US

Hi Piotr,

I tried to test by the way you mentioned, but that didn't completed for me
either, it terminates by the same log I mentioned earlier. My command was

set
FLEX_HOME=E:\DevareaLocal\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.8.0-bin&&
E:\DevareaLocal\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
E:\DevareaLocal\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.8.0-bin\examples\flexjs\MDLExample\src\App.mxml
-accessible=true -compiler.exclude-defaults-css-files=HTML.swc:defaults.css
-html-template=src/resources/mdl-js-index-template.html -locale=en_US 

Thanks!




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60737.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-24 Thread sankar
Hi Alex,

I do have a GOOG_HOME in my environment variable, and it's set to something
like this:
E:\DevareaLocal\ApacheFlexJSFrameworkSource\closure-library-master

The framework source folder structure looks like this:

<http://apache-flex-development.247.n4.nabble.com/file/n60731/Untitled.png> 

This structure used to work gracefully for my compilation until few days
back.

I also tried running this command inside 'flex-asjs' folder as you
suggested, which seems completed successfully,
ant -f frameworks/downloads.xml subset-goog
<http://apache-flex-development.247.n4.nabble.com/file/n60731/Untitled2.png>
 

Thing is I badly stuck with this newest SDK now.

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60731.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-23 Thread Alex Harui
Santanu,

Did you try to subset the files of Google Closure Library?  Do you have a
GOOG_HOME environment variable or is the Google Closure Library downloaded
to js/lib/google/closure-library?

Where ever it is, list all the files.  There shouldn't be more than 30.

Thanks,
-Alex

On 3/23/17, 9:35 PM, "sankar"  wrote:

>piotrz wrote
>> Post please what do you have in MDLExampleconfig.xml. I was able to
>>build
>> MDLExample with following command:
>
>Hi Piotr,
>
>Here's the config file
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkobra.io%
>2F%23%2Fe%2F-Kfyb7wiTkDHDEYmqb8m=02%7C01%7C%7Cf20846d7483c4b75565a08d
>4727047f4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636259273954194671&
>sdata=qD67%2BMjr3d5e6gA1SxRSTlrXcQQeezpxDVTkmCapCm8%3D=0. But I'm
>wondering, is there something big changed recently to the SDK side,
>because
>these process were used to work smoothly till now.
>
>Here's the full command that used to work till now, for your reference:
>
>> set
>> 
>>FLEX_HOME=E:\DevareaLocal\ApacheFlexJSFrameworkSource\source\flex-asjs\ou
>>t\apache-flex-flexjs-0.8.0-bin&&
>> 
>>E:\DevareaLocal\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-f
>>lex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
>> -load-config+=obj/MDLExampleConfig.xml -accessible=true
>> -compiler.exclude-defaults-css-files=HTML.swc:defaults.css
>> -html-template=src/resources/mdl-js-index-template.html -locale=en_US
>
>Thanks!
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-MDL-Project-is-failing-to-com
>pile-help-tp60668p60727.html=02%7C01%7C%7Cf20846d7483c4b75565a08d4727
>047f4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636259273954194671
>a=XgTzsZS7d7cRwwiapYM5vXtL8xkR%2Bkz4FIbngiJVdcg%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-23 Thread sankar
piotrz wrote
> Post please what do you have in MDLExampleconfig.xml. I was able to build
> MDLExample with following command:

Hi Piotr,

Here's the config file https://kobra.io/#/e/-Kfyb7wiTkDHDEYmqb8m. But I'm
wondering, is there something big changed recently to the SDK side, because
these process were used to work smoothly till now.

Here's the full command that used to work till now, for your reference:

> set
> FLEX_HOME=E:\DevareaLocal\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.8.0-bin&&
> E:\DevareaLocal\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
> -load-config+=obj/MDLExampleConfig.xml -accessible=true
> -compiler.exclude-defaults-css-files=HTML.swc:defaults.css
> -html-template=src/resources/mdl-js-index-template.html -locale=en_US

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60727.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-23 Thread piotrz
Santanu,

Post please what do you have in MDLExampleconfig.xml. I was able to build
MDLExample with following command:

d:\flex_sdk\flexjs_nightly\js\bin\mxmlc.bat
d:\flex_sdk\flexjs_nightly\examples\flexjs\MDLExample\src\main\flex\App.mxml
-accessible=true -compiler.exclude-defaults-css-files=HTML.swc:defaults.css
-html-template=d:/flex_sdk/flexjs_nightly/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
-locale=en_US

The only change is that I used direct path to main app file.

Piotr





-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60721.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-23 Thread piotrz
I was talking with Santanau and it didn't help for him.

His stacktrace above is after try your suggestion.

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60708.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-23 Thread Alex Harui


On 3/23/17, 12:52 AM, "piotrz"  wrote:

>Alex,
>
>Is this mean that Santanau problems occurs cause compiler didn't had fresh
>dependencies related to Closure compiler?

Well, in Ant there isn't really a notion of "fresh".  In theory, the Ant
build brings down Closure Library and removes unnecessary files.  But if
that isn't working or someone just downloaded the Closure Library and
pointed to it via GOOG_HOME environment variable then there would be files
I didn't expect.  I'll make the compiler more tolerant at some point.  But
the quick fix for Peter was doing the subset.  Santanu had a slightly
different stack trace so not sure if it solved it for him.

-Alex




Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-23 Thread piotrz
Alex,

Is this mean that Santanau problems occurs cause compiler didn't had fresh
dependencies related to Closure compiler?

Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60690.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread sankar
This is my complete log of MDLExample project compilation and termination:
https://kobra.io/#/e/-KftTPyWUjPCEiUWIUrO

And, this created this much files for me:
<http://apache-flex-development.247.n4.nabble.com/file/n60687/Untitled.png> 

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60687.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread Alex Harui
I checked out Peter's build problem, which might be different, but his
issue is that the compiler is expecting folks to be using a subset of
Closure Library.  If you have a GOOG_HOME environment variable pointing to
a folder of Closure Library files, run the Ant subsetting utility on it.

In flex-asjs repo, run:

  ant -f frameworks/downloads.xml subset-goog

Subsetting should speed up your build times as well since there will be
fewer Closure files to copy.

HTH,
-Alex 



On 3/22/17, 9:16 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote:

>Judging by these method names, this looks related to Alex's recent changes
>to sorting the dependency graph in the compiler:
>
>sortClosureFile
>closureFilesInOrder
>
>- Josh
>
>On Wed, Mar 22, 2017 at 4:32 AM, sankar <santanu4...@gmail.com> wrote:
>
>> Hi,
>>
>> I downloaded the latest framework source today, compiled it well and
>>after
>> everything downloaded I have the SDK with AIR 25.0. In this process I
>> didn't
>> encountered any error.
>>
>> I tried to compile the MDLExample project that comes within the SDK
>>folder,
>> but the compilation terminates abruptly. Following is my command for the
>> compilation:
>>
>> /E:\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-
>> flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
>> -load-config+=obj/MDLExampleConfig.xml -accessible=true
>> -compiler.exclude-defaults-css-files=HTML.swc:defaults.css
>> -html-template=src/resources/mdl-js-index-template.html -locale=en_US/
>>
>> The only last output after it terminates is as follows:
>>
>> > java.lang.String.substring(String.java:1967)org.apache.
>> flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.
>> getProvidedFile(MXMLFlexJSPublisher.java:488)org.apache.flex.compiler.
>> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.sortClosureFile(
>> MXMLFlexJSPublisher.java:472)org.apache.flex.compiler.
>> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesInOrder(
>> MXMLFlexJSPublisher.java:440)org.apache.flex.compiler.
>> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(
>> MXMLFlexJSPublisher.java:244)org.apache.flex.compiler.
>> clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache.
>> flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)
>> org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(
>> MXMLJSC.java:270)org.apache.flex.compiler.clients.MXMLJSC.
>> staticMainNoExit(MXMLJSC.java:232)org.apache.flex.compiler.
>> clients.MXMLJSC.main(MXMLJSC.java:176)
>>
>> I didn't received any notable error though but it just terminates.
>>
>> Any idea where I should look into for this break (?)
>>
>> Thanks!
>>
>>
>>
>> --
>> View this message in context: http://apache-flex-
>> development.247.n4.nabble.com/FlexJS-MDL-Project-is-
>> failing-to-compile-help-tp60668.html
>> Sent from the Apache Flex Development mailing list archive at
>>Nabble.com.
>>



Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread Josh Tynjala
Judging by these method names, this looks related to Alex's recent changes
to sorting the dependency graph in the compiler:

sortClosureFile
closureFilesInOrder

- Josh

On Wed, Mar 22, 2017 at 4:32 AM, sankar <santanu4...@gmail.com> wrote:

> Hi,
>
> I downloaded the latest framework source today, compiled it well and after
> everything downloaded I have the SDK with AIR 25.0. In this process I
> didn't
> encountered any error.
>
> I tried to compile the MDLExample project that comes within the SDK folder,
> but the compilation terminates abruptly. Following is my command for the
> compilation:
>
> /E:\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-
> flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
> -load-config+=obj/MDLExampleConfig.xml -accessible=true
> -compiler.exclude-defaults-css-files=HTML.swc:defaults.css
> -html-template=src/resources/mdl-js-index-template.html -locale=en_US/
>
> The only last output after it terminates is as follows:
>
> > java.lang.String.substring(String.java:1967)org.apache.
> flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.
> getProvidedFile(MXMLFlexJSPublisher.java:488)org.apache.flex.compiler.
> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.sortClosureFile(
> MXMLFlexJSPublisher.java:472)org.apache.flex.compiler.
> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesInOrder(
> MXMLFlexJSPublisher.java:440)org.apache.flex.compiler.
> internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(
> MXMLFlexJSPublisher.java:244)org.apache.flex.compiler.
> clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache.
> flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)
> org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(
> MXMLJSC.java:270)org.apache.flex.compiler.clients.MXMLJSC.
> staticMainNoExit(MXMLJSC.java:232)org.apache.flex.compiler.
> clients.MXMLJSC.main(MXMLJSC.java:176)
>
> I didn't received any notable error though but it just terminates.
>
> Any idea where I should look into for this break (?)
>
> Thanks!
>
>
>
> --
> View this message in context: http://apache-flex-
> development.247.n4.nabble.com/FlexJS-MDL-Project-is-
> failing-to-compile-help-tp60668.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread sankar
Hi,

Frankly, I don't know how Maven works, and I never used that before. 

I simply wants this as old school, calling the compiler file from SDK,
provide necessary commands/parameters and build the project.

Is that doable at some time sooner (?)

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668p60679.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread Christofer Dutz
Hi Sankar,

Have you tried building with Maven? That should work as it is working on 
Jenkins without any error reports.

Chris


Am 22.03.17, 12:32 schrieb "sankar" <santanu4...@gmail.com>:

Hi,

I downloaded the latest framework source today, compiled it well and after
everything downloaded I have the SDK with AIR 25.0. In this process I didn't
encountered any error.

I tried to compile the MDLExample project that comes within the SDK folder,
but the compilation terminates abruptly. Following is my command for the
compilation:


/E:\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
-load-config+=obj/MDLExampleConfig.xml -accessible=true
-compiler.exclude-defaults-css-files=HTML.swc:defaults.css
-html-template=src/resources/mdl-js-index-template.html -locale=en_US/

The only last output after it terminates is as follows:

> 
java.lang.String.substring(String.java:1967)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.getProvidedFile(MXMLFlexJSPublisher.java:488)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.sortClosureFile(MXMLFlexJSPublisher.java:472)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesInOrder(MXMLFlexJSPublisher.java:440)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:244)org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:270)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:232)org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176)

I didn't received any notable error though but it just terminates. 

Any idea where I should look into for this break (?)

Thanks!



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.




Re: [FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread Peter Ent
I just re-sync'd myself since I am planning to merge my code and I'm
having the same issue. I did try maven and that does build, so that's
good. But the ant build should work, too.

Thanks,
Peter

On 3/22/17, 10:34 AM, "Christofer Dutz"  wrote:

>Hi Sankar,
>
>Have you tried building with Maven? That should work as it is working on
>Jenkins without any error reports.
>
>Chris
>
>
>Am 22.03.17, 12:32 schrieb "sankar" :
>
>Hi,
>
>I downloaded the latest framework source today, compiled it well and
>after
>everything downloaded I have the SDK with AIR 25.0. In this process I
>didn't
>encountered any error.
>
>I tried to compile the MDLExample project that comes within the SDK
>folder,
>but the compilation terminates abruptly. Following is my command for
>the
>compilation:
>
>
>/E:\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.
>8.0-bin\js\bin\mxmlc.bat
>-load-config+=obj/MDLExampleConfig.xml -accessible=true
>-compiler.exclude-defaults-css-files=HTML.swc:defaults.css
>-html-template=src/resources/mdl-js-index-template.html -locale=en_US/
>
>The only last output after it terminates is as follows:
>
>> 
>java.lang.String.substring(String.java:1967)org.apache.flex.compiler.inter
>nal.codegen.mxml.flexjs.MXMLFlexJSPublisher.getProvidedFile(MXMLFlexJSPubl
>isher.java:488)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLF
>lexJSPublisher.sortClosureFile(MXMLFlexJSPublisher.java:472)org.apache.fle
>x.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesIn
>Order(MXMLFlexJSPublisher.java:440)org.apache.flex.compiler.internal.codeg
>en.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:244)or
>g.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache
>.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)org.apache.fle
>x.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:270)org.apache.flex.com
>piler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:232)org.apache.flex.co
>mpiler.clients.MXMLJSC.main(MXMLJSC.java:176)
>
>I didn't received any notable error though but it just terminates.
>
>Any idea where I should look into for this break (?)
>
>Thanks!
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-MDL-Project-is-failing-to-com
>pile-help-tp60668.html=02%7C01%7C%7C2b7cf90a5f6149f2902808d47130a009%
>7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636257901039832972=CS7t
>6f0Lo%2F4ezuEYV9Y%2BIoRVs15DATkq7SYQY%2BRJ1QI%3D=0
>Sent from the Apache Flex Development mailing list archive at
>Nabble.com.
>
>



[FlexJS] MDL - Project is failing to compile, help!

2017-03-22 Thread sankar
Hi,

I downloaded the latest framework source today, compiled it well and after
everything downloaded I have the SDK with AIR 25.0. In this process I didn't
encountered any error.

I tried to compile the MDLExample project that comes within the SDK folder,
but the compilation terminates abruptly. Following is my command for the
compilation:

/E:\ApacheFlexJSFrameworkSource\source\flex-asjs\out\apache-flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat
-load-config+=obj/MDLExampleConfig.xml -accessible=true
-compiler.exclude-defaults-css-files=HTML.swc:defaults.css
-html-template=src/resources/mdl-js-index-template.html -locale=en_US/

The only last output after it terminates is as follows:

> java.lang.String.substring(String.java:1967)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.getProvidedFile(MXMLFlexJSPublisher.java:488)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.sortClosureFile(MXMLFlexJSPublisher.java:472)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.closureFilesInOrder(MXMLFlexJSPublisher.java:440)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:244)org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:455)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:313)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:270)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:232)org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:176)

I didn't received any notable error though but it just terminates. 

Any idea where I should look into for this break (?)

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Project-is-failing-to-compile-help-tp60668.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.