on 2018 Sep 20 8:58 PM
Hi
I have created a custome backoffice in the extensionsinfo.xml file i have added the requires-extension name="platformbackoffice"
How ever when I ran the "ant clean all" command I'm getting an error in MySearchController.java file.
I also tried to add the values to classpath as shown in the picture
Any help is appreciated.
Thanks!
Request clarification before answering.
All sources related to backoffice-specific elements like widgets, actions etc (this includes your controller) must be in customextension/backoffice/src, not in the regular source folder, otherwise ant does'nt use the correct classpath.
And judging by your screenshot, this is the issue here.
I assume that you have created the sigmabackoffice extension using the ybackoffice template, correct? You only need to move your controller class from sigmabackoffice/src to sigmabackoffice/backoffice/src, then it shoud compile without any issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 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.