0

I am using liferay 5.2 sp 2 on weblogic 10.

I need liferay-yuicompressor.jar file in the lib folder of domain. I am tryign to create .jar file as per described on this link: http://issues.liferay.com/browse/LPS-3169

When i ant build-yui i am facing below exception.

get-swing-ex: [mkdir] Created dir: D:\Liferay Material\GOSI\liferay-portal-src-5.2.2\liferay-portal-src-5.2.2\portal-impl\20130301133406114\rhino1_6R7\toolsrc\com\liferay\mozilla\javasc ript\tools\debugger\downloaded [get] Getting: http://java.sun.com/products/jfc/tsc/articles/treetable2/downloads/src.zip [get] To: D:\Liferay Material\GOSI\liferay-portal-src-5.2.2\liferay-portal-src-5.2.2\portal-impl\20130301133406114\rhino1_6R7\toolsrc\com\liferay\mozilla\javascript\tool s\debugger\downloaded\swingExSrc.zip [get] http://java.sun.com/products/jfc/tsc/articles/treetable2/downloads/src.zip permanently moved to http://www.oracle.com/technetwork/java/index.html [unzip] Expanding: D:\Liferay Material\GOSI\liferay-portal-src-5.2.2\liferay-portal-src-5.2.2\portal-impl\20130301133406114\rhino1_6R7\toolsrc\com\liferay\mozilla\javascri pt\tools\debugger\downloaded\swingExSrc.zip into D:\Liferay Material\GOSI\liferay-portal-src-5.2.2\liferay-portal-src-5.2.2\portal-impl\20130301133406114\rhino1_6R7\toolsrc\co m\liferay\mozilla\javascript\tools\debugger\downloaded

BUILD FAILED

As per my understanding it is trying to get the .zip file from http://java.sun.com/products/jfc/tsc/articles/treetable2/downloads/src.zip but it is no longer available and moved to http://www.oracle.com/technetwork/java/index.html

I need your help in getting liferay-yuicompressor.jar file. Please help me out...

4

2 に答える 2

0

コメントしてみる

<ant antfile="toolsrc/build.xml" target="compile"/>

ルート build.xml に

xbean.jar で同様の問題が発生する場合は、 build.properties ファイルにwithout-xmlimpl: noを設定するだけです。

于 2016-02-14T19:05:09.700 に答える
0

Nakul さん、 weblogic に liferay をデプロイしているときに、例外に直面している他の投稿に応答していました。申し訳ありませんが、5.x ではなく LifeRay 6.x を使用していたため、その投稿に対する最後のコメントを誤解していました。

liferay-yuicompressor.jar を使用する必要がないように、ランタイムの縮小を無効にします。

以下を追加できますportal-ext.properties

javascript.fast.load=false 
theme.css.fast.load=false

パフォーマンス上の理由から縮小を行いたい場合は、http: //yui.github.com/yuicompressor/で説明されているように、ビルド時に実行できます。ランタイムとビルド時間の縮小化の間で、私は常にビルド時間を好みます。

于 2013-03-01T16:38:11.900 に答える