[Hippo-cms7-user] Hello world error

Jeroen Reijn j.reijn at onehippo.com
Tue Aug 4 13:13:04 CEST 2009


You could try to put it into the webapp folder of a maven project. Do 
keep in mind that you put it in the correct location.

Regards,

Jeroen

xtien wrote:
> Now, I have updated the file DashboardPerspective.html but in the target/
> hierarchy, the old file keeps showing up. mvn clean removes all references
> to the old file, but when starting the app, the old file returns. How do I
> update DashboardPerspective.html?
> 
> 
> 
> 
> xtien wrote:
>> I have followed the instructions at 
>> http://www.onehippo.org/cms7/delve_into/tools/howto/maven/build_core_Hippo_CMS.html
>> to build the Hippo cms in order to run the hello world sample. I typed
>> "mvn -Dmaven.test.skip=true install", and I get
>>
>> [INFO] [yuicompressor:compress {execution: default}]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] null
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> java.lang.RuntimeException
>> 	at
>> com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber(JavaScriptCompressor.java:299)
>> 	at
>> com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:336)
>> 	at
>> com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
>> 	at
>> org.hippoecm.maven.javascript.YuiCompressorPlugin.compress(YuiCompressorPlugin.java:179)
>> 	at
>> org.hippoecm.maven.javascript.YuiCompressorPlugin.compress(YuiCompressorPlugin.java:171)
>> 	at
>> org.hippoecm.maven.javascript.YuiCompressorPlugin.execute(YuiCompressorPlugin.java:122)
>> 	at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>> 	at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>> 	at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>> 	at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>> 	at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>> 	at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>> 	at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> 	at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> 	at java.lang.reflect.Method.invoke(Method.java:616)
>> 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 5 minutes 44 seconds
>> [INFO] Finished at: Mon Aug 03 15:14:39 CEST 2009
>> [INFO] Final Memory: 50M/100M
>>
>>
>> The reason I skip the tests is that with tests, the maven install would
>> run for over an hour on a dual core processor with linux and 2Gig of
>> memory.
>> What is the proper way to run the hello world demo?
>>
>>
> 



More information about the Hippo-cms7-user mailing list