2

I am using maven for xpages to create an NTF package on jenkins server and its working fine but when I open it in domino designer I came to know that some custom controls are missing.Then I had a check on jenkins workspace to make sure that all files are pulled properly and it was upto date. So my question is why headless designer(USING MAVEN) is skiping some custom controls while creating ntf package. Any help would be appreciated

akaushik
  • 91
  • 1
  • 9
  • Post your maven script – stwissel Sep 14 '17 at 09:34
  • you will get maven script on this link https://i.stack.imgur.com/fDe3H.png – akaushik Sep 14 '17 at 13:30
  • Let us try to turn this into a complete question. To do so you need to edit it and add the pieces that trouble you. SO allows to insert source code (indent 4 spaces). Screenshots of source code don't improve your chances for help. Best would be your maven script and a sample XPage with the trouble. Your question leaves us guessing: are standard controls missing or extension pack controls or your own. Were they in a specific name space etc. The problem needs to be reproducible – stwissel Sep 14 '17 at 14:22
  • Did you check: https://guedebyte.blog/2016/03/26/building-nsf-using-the-maven-headlessdesigner-plugin-from-openntf/ and https://edm00se.io/xpages/headless-dde-and-jenkins/ – stwissel Sep 14 '17 at 14:27

2 Answers2

2

Deleting all the files related to old build did the trick for me

akaushik
  • 91
  • 1
  • 9
0

are the .metadata files and .xsp-config files for the custom controls present in the on disk project?

e.g for 1 custom control there should be three files

mycustomcontrol.xsp
mycustomcontrol.xsp-config
mycustomcontrol.metadata

also what do you mean by 'missing' do you mean that you cannot see them in the list of custom controls? or do you mean that they are imported and you can see them in the NSF but they do not build properly, and therefore you see an errors within XPages about not being able to use them?

is there anything in common about the controls that are missing and the controls that are successful?

Cameron Gregor
  • 1,460
  • 7
  • 8
  • all .metadata files and .xsp-config files for the custom controls are present in the on disk project like the three file you mentioned.Custom controls are present in on disk project but not in NSF – akaushik Sep 19 '17 at 08:36