Fórumok

Add custom class to hook project

thumbnail
Habib Zare, módosítva 11 év-val korábban

Add custom class to hook project

Junior Member Bejegyzések: 58 Csatlakozás dátuma: 2012.10.28. Legújabb bejegyzések
i have a hook project and i want to add custom class but when i add any class and deploy the error:

Buildfile: E:\LiferayProgramming\liferay-plugins-sdk-6.0.6-20110225\hooks\wiki-hook\build.xml
compile:
merge:
compile-java:
[javac] Compiling 1 source file to E:\LiferayProgramming\liferay-plugins-sdk-6.0.6-20110225\hooks\wiki-hook\docroot\WEB-INF\classes

BUILD FAILED
E:\LiferayProgramming\liferay-plugins-sdk-6.0.6-20110225\build-common-plugin.xml:347: The following error occurred while executing this line:
E:\LiferayProgramming\liferay-plugins-sdk-6.0.6-20110225\build-common.xml:90: Error running javac.exe compiler

Total time: 1 second

Id it possible to add custom class and or overwrite(or extend) liferay core class in hook?
thumbnail
Subhash Pavuskar, módosítva 11 év-val korábban

RE: Add custom class to hook project

Regular Member Bejegyzések: 234 Csatlakozás dátuma: 2012.03.13. Legújabb bejegyzések
Hi Habib,


##
## Compiler
##
.....
    javac.compiler=modern
    #javac.compiler=org.eclipse.jdt.core.JDTCompilerAdapter



Change to
#javac.compiler=modern
   javac.compiler=org.eclipse.jdt.core.JDTCompilerAdapter


For More Info go through this Link Click Here