Thursday 15 May 2014

crux framework error mvn gwt:compile -


I downloaded the sample project and compiled the subgraph cracks site but I have this error:

Root Site $ mvn Clean Package [Info] Creating Successful Root Site $ mvn gwt: Compilation [Info] Scanning for projects ... ... [INFO] Compilation module org.cruxframework. Cruxsite.CruxSite [Error] mar 17, 2015 18:17:02 org.cruxframework.crux.core.rebind.DevelopmentScanners initializeScanners [ERROR] INFORMAZIONI: Scanner registration issue for root compilation Is ... [ERROR] mar 17, 2015 18:17:03 ORG .cruxframework.crux.core.server.CruxBridge Handwritten Error [Error] Grave: Crooksbridge Important Error: Error getting the last page Requested file. [ERROR] java.io.FileNotFoundException: / tmp / screenRequestedBridgeFile (Such a file or directory) [Error] java.io.FileInputStream.open (Native resident method) .... ....

I have not modified the initial sources, the error is java.io.FileNotFoundException: / tmp / screenRequestedBridgeFile

Your system is: Ubuntu 14.04, Maven 2, JDK Oracle 7

Even thoughts?


Ok Thiago, now I compile the app and see it on the browser, but the problem is that when recombined in super dev mode. I got the same problem

module org.cruxframework.cruxsite.CruxSite March 18, 2015 11:31:38 PM

  org.cruxframework.crux.core.rebind compiled Please. DevelopmentScanners initializeScanners INFORMAZIONI: Registration Scanner for root compilation ... mar 18, 2015 11:31:39 org.cruxframework.crux.core.server.CruxBridge handleCriticalError Grave: CruxBridge important error: error in getting lastPageRequestedFile Java.io.FileNotFoundException: / tmp / screenRequestedBridgeFile (such a file or directory) on java.io.FileInputStream.open (native resident method)  

(compile in super dev mode is on the browser , The fresh page when the Java source is modified)

To compile a Cracks application with Maven You can not use Gwt: target compile

To generate a war file, try installing MVN instead.

For debug, you can try Enclline Launch files at StartCodeServer.launch and StartJetty.launch (on Eclipse IDE) and then open the url on the browser.


Edit

I could not reproduce your problem. Anyway, can you try to change the cruxVersion property on pom.xml to point to 5.3.0-SNAPSHOT?

The reason for this is that CodeServer should not try to read this file. At Version 5.3.0 we fix this behavior. This file is used only when the app is now using the old GWT DevModa

5.3.0, although not yet released, but will be coming very soon in the next few days. Therefore, for this moment you must use this snapshot.


No comments:

Post a Comment