on 10-18-2018 11:32 AM
Hi,
I created a new action for our core backoffice config like described here Unfortunately I do get this error while compiling :
error: package com.hybris.cockpitng.actions does not exist
I fixed this error by manually copying the cockpitframework-18.08.0-RC7.jar into myextension/lib folder, but is there a more normal fix? Did I forget to include an extension in my required extension etc?
The source file for your action is probably in the wrong folder.
It has to be in myextension/backoffice/src
, not in the regular myextension/src
folder.
I assume that you created myextension
from the ybackoffice
template.
If not, do so, otherwise you don't have all the required build callbacks etc. and your action won't work
And, do not copy the backoffice libraries to your extension. It may break the backoffice in weird ways as soon as you upgrade or use the next patch release.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to make sure:
Do not add stuff to ybackoffice
directly!!
ybackoffice
is only a template, you should never configure it in localextensions.xml
or in extensioninfo.xml
Create your own custom extension using the ybackoffice
template, and add your stuff to the new, generated extension!
ant extgen -Dinput.template=ybackoffice
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.