Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Habib Zare
Add custom class to hook project
27 febbraio 2013 20.54
Risposta

Habib Zare

Punteggio: Junior Member

Messaggi: 58

Data di Iscrizione: 28 ottobre 2012

Messaggi recenti

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:
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?
Subhash Pavuskar
RE: Add custom class to hook project
27 febbraio 2013 21.16
Risposta

Subhash Pavuskar

Punteggio: Regular Member

Messaggi: 234

Data di Iscrizione: 12 marzo 2012

Messaggi recenti

Hi Habib,

1
2##
3## Compiler
4##
5.....
6    javac.compiler=modern
7    #javac.compiler=org.eclipse.jdt.core.JDTCompilerAdapter



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


For More Info go through this Link Click Here