-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration XML File is Missing #8
Comments
Hello Pramod, Are you checking inside the target/ folder of the xCP Application? In the wiki example, it would be src/TestApplication/target/ Regards, |
Thanks for your response. I was able to figure out the problem, the issue is with Maven Version (earlier used 3.2.2 as you shown in wiki example), I changed it to 3.0.2 (like it is used in xCP Designer) everything is working fine. But one thing is my project is getting built in target folder not src//target |
Right, that's probably because you haven't defined any Local module directory when setting Source Control for your job, right? I was able to successfully use the plugin with maven 3.2.2 so it's a bit strange that you are not able to. |
Yes, you are right I just realized the Local Module Directory is set ".". Still not sure why it is not working for me with Maven 3.2.2.
Thanks |
Hello Pramod, I'm afraid you're getting way offtopic here.
|
I am sorry, seems like again I am seeing the same problem that Configuration XML is not getting generated (XIP_xip_2.1.1238_config.xml) is missing, I can see the WAR getting generated. Not sure what should I look at. |
Was the WAR generated? Please post jenkins Console Output of the job execution to see if I can figure it out. |
Yes, the WAR file is getting generated, I don't the config XML getting generated. I have attached the Job execution Output and Configuration Screenshots for your reference. Please help me getting this resolved. Jenkins Build Output.txt |
@pramodbenda, the config.xml file is not generated when building an xCP application from command line using Maven. The xCP Designer 2.1 user guide pg. 353 mentions that
Under the hood this plugin uses Maven to build the application from command line. If your goal is to get a copy of the config.xml then you can use the "Package Application" feature in xCP Designer which will build the WAR and also the config.xml file. You can then save a copy of this config.xml file and use it during deployments. Additionally, if you are deploying your application across different environments (i.e. Test, Staging, Production) you may want to consider having different config.xml files for each environment. |
Hi,
Thanks for providing this Jenkins Plugin for xCP, I tried using it and one thing I noticed is it is not generating the Configuration XML (in the target folder) which is used for xCP Deployment. Do you think I am doing something wrong.
Thanks
Pramod Benda.
The text was updated successfully, but these errors were encountered: