#1 2015-07-08 13:51:21

impulsmedia
Member
Registered: 2015-04-21
Posts: 64

Code minimizer > Sorry an error occur ....

Hello,
I get a error message if I try to minimize the code. Not with all .ap but with my actual one. What does this mean? Debug and Build runs without error. Thanks
Walter

Offline

#2 2015-07-08 13:55:31

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Code minimizer > Sorry an error occur ....

Hello Walter,

What is the error message that you get? The code minimizer tool is based in the YUI Compressor, which is included into the App Builder distribution. Since this program requires Java, maybe you have not Java installed? Anyway, please, post here the error message you get in order to try to help you.

Online

#3 2015-07-09 12:03:42

impulsmedia
Member
Registered: 2015-04-21
Posts: 64

Re: Code minimizer > Sorry an error occur ....

Hello David,
the error message is really strange:

Sorry an error occur: "Vorgang erfolgreich beendet"

The German part of teh message means  > "process sucessfully terminated" . So what? A nice contradiction in itself :-)

Offline

#4 2015-07-09 15:47:07

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Code minimizer > Sorry an error occur ....

Hello Walter,

Good error! Nope. I will take a look at this, however, can you tell me if Java is propertly installed in your PC?

And other point: please, try to create a Batch file (from the Tools menu) and choose to minimize the app code.

Then try to run the Batch that must compile and minimize the code of your app. Please tell me if this fail or what.

Online

#5 2015-07-10 08:05:30

impulsmedia
Member
Registered: 2015-04-21
Posts: 64

Re: Code minimizer > Sorry an error occur ....

Hello David,
Java is ok and the error doesn´t appear with every .ab. Seems there is something in my script. Batch compile and minimize seems to work, I will send you screenshots by email.
Walter

Offline

#6 2015-07-10 08:07:27

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Code minimizer > Sorry an error occur ....

Hello Walter,

Waiting for your mail.

Online

#7 2015-07-17 21:35:57

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Code minimizer > Sorry an error occur ....

Hello Walter,

What about this issue? Finally you get working the code minimizer tool?

Online

#8 2015-07-18 09:14:22

impulsmedia
Member
Registered: 2015-04-21
Posts: 64

Re: Code minimizer > Sorry an error occur ....

Hello David,
sorry I zhave been ill last 6 days .... The code mimizer seems to work, I get some error messages but I  think these are related to my code. I will send you a screenshot asap ...

Offline

#9 2015-07-18 15:23:37

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Code minimizer > Sorry an error occur ....

Hello Walter,

I recieve the errors capture. Certainly they appear to be some "problem" in your code, in the sense that probably you are using some Javascript code which can cause the problem. Maybe I can help you more if you send me such piece of code. Maybe the problem is not produced by such code but by the interpretation of App Builder of that code. Anyway I need such Javascript code in order to investigate it.

Online

#10 2015-07-28 22:17:46

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Code minimizer > Sorry an error occur ....

Hello to all,

The App Builder Code Minimizer tool (GUI) has been enhanced in order to offer information if an error occur. This information has before available when use the App Builder CLI (command line compiler) but not in the GUI version of the Code Minimizer tool. Now both offer us the same information if an error occur while minimize our apps code. Commonly this kind of errors appear by some syntax mistakes and the information provided by the error can be very useful to locale and fix the problem.

Online

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.