Building a particular tenant in hybris

0 votes

I have three different tenant present inside the custom folder.

<HYBRIS_HOME>/bin/custom
            |
            |
tenant1  tenant2 tenant3 

If I run ant clean all it builds all three but I only want to build on tenant at a time. Any way I can do this?

Aug 1, 2018 in DevOps & Agile by Atul
• 10,240 points
819 views

1 answer to this question.

0 votes

There isn't an in-built option to only build a particular tenant. The default behavior of hubris builds all extension in localextensions.xml with their dependencies.

But you can try this workaround:

  • you can have several localextensions.xml and switch them with a script
  • you can use ant extensionsxml -Dplatform.extensions="ext1 ext2" -Dplatform.extensionsgen.filename=localextensions.xml to generated the extensions file for your tenant specific extensions
answered Aug 1, 2018 by DareDev
• 6,890 points

Related Questions In DevOps & Agile

+1 vote
2 answers

is it possible to assign a Feature/User Story/Task to a team [Group] in VSTS

In most cases, we would break Work ...READ MORE

answered Oct 11, 2018 in DevOps & Agile by lina
• 8,220 points
5,432 views
0 votes
2 answers

Running a cron job in a docker conratiner

Let’s create a new file called "crontab" ...READ MORE

answered Aug 7, 2018 in DevOps & Agile by Kalgi
• 52,350 points
12,540 views
0 votes
1 answer

Can I run a program on release failure in TFS?

You can try and do the following ...READ MORE

answered Apr 26, 2018 in DevOps & Agile by ajs3033
• 7,300 points
807 views
0 votes
2 answers

difference between the `COPY` and `ADD` commands in a Dockerfile

Hi, COPY and ADD are both Dockerfile instructions that serve similar purposes. They ...READ MORE

answered Dec 23, 2020 in DevOps & Agile by akhtar
• 38,260 points
4,960 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+2 votes
1 answer
+13 votes
2 answers
0 votes
1 answer

TFS shows a / error when building app.

Seems like you haven't set the virtual ...READ MORE

answered Apr 29, 2018 in DevOps & Agile by DareDev
• 6,890 points
655 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP