[
http://jira.jboss.com/jira/browse/RF-1647?page=comments#action_12392841 ]
David Bernard commented on RF-1647:
-----------------------------------
the bug is fixed in the version 0.6.3 of yuicompressor-maven-plugin. (I'm the author
of the plugin)
Sorry for the bug, I ignored it until yesterday.
Both 3.1.x and trunk builds are broken
--------------------------------------
Key: RF-1647
URL:
http://jira.jboss.com/jira/browse/RF-1647
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0, 3.1.3
Environment: Windows
Reporter: Maksim Kaszynski
Assigned To: Tsikhon Kuprevich
Priority: Blocker
Fix For: 3.2.0, 3.1.3
While perfectly working on Linux boxes, build fails on Windows.
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [javascript:compress {execution: default}]
[WARNING] ...\src\main\resources\org\ajax4jsf\javascript\scripts\command.js:line
-1:column -1:[WARNING] Found an undeclared symbol: $A
form;var targ=form.target;$A ---> ( <--- this.objectsCreated).each(function (
[WARNING] ...\src\main\resources\org\ajax4jsf\javascript\scripts\command.js:line
-1:column -1:[WARNING] Found an undeclared symbol: $H
(params){var dis=this;$H ---> ( <--- params).each(function (parameter)
[WARNING] ...\src\main\resources\org\ajax4jsf\javascript\scripts\command.js:line
-1:column -1:[WARNING] Found an undeclared symbol: $
.each(function (input){($ ---> ( <--- input.key)||form[input.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] wrap: Failed to delete
D:\projects\Exadel\branch\framework\impl\target\compressed\org\ajax4jsf\javascript\scripts\command-min.js.tmp
while trying to rename it.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: wrap: Failed to delete
D:\projects\Exadel\branch\framework\impl\target\compressed\or
g\ajax4jsf\javascript\scripts\command-min.js.tmp while trying to rename it.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
Caused by: org.apache.maven.plugin.MojoExecutionException: wrap: Failed to delete
D:\projects\Exadel\branch\framework\impl\target\compressed
\org\ajax4jsf\javascript\scripts\command-min.js.tmp while trying to rename it.
at net.sf.alchim.mojo.yuicompressor.MojoSupport.execute(MojoSupport.java:135)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
Caused by: java.io.IOException: Failed to delete
D:\projects\Exadel\branch\framework\impl\target\compressed\org\ajax4jsf\javascript\scripts\
command-min.js.tmp while trying to rename it.
at org.codehaus.plexus.util.FileUtils.rename(FileUtils.java:1539)
at
net.sf.alchim.mojo.yuicompressor.YuiCompressorMojo.processFile(YuiCompressorMojo.java:186)
at net.sf.alchim.mojo.yuicompressor.MojoSupport.processDir(MojoSupport.java:179)
at net.sf.alchim.mojo.yuicompressor.MojoSupport.execute(MojoSupport.java:113)
... 18 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 41 seconds
[INFO] Finished at: Fri Dec 14 13:19:55 EET 2007
[INFO] Final Memory: 33M/59M
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira