cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to create a new custom extension in hybris 6.3 using ant modulegen from command prompt

rinvarghese
Explorer
3,316

I am trying to create a new extension in hybris\bin\custom directory in Hybris 6.3 using ant modulegen from command prompt. On running the cmd - "ant modulegen" i am getting the below error.

C:\hybris603\hybris\bin\platform\resources\ant\antmacros.xml:155: mycustomproject.webroot '/rest_junit' is already used by extension 'ycommercewebservices'!

can anyone pleas suggest what might be the issue.

Thanks, Rinu

View Entire Topic
Former Member

Go to respective extension's (which is use ycommercewebservices template) tenant_junit.properties file and change - your-extension-name.webroot=/rest_junit to your-extension-name.webroot=/your-extension-name_rest_junit Means you need to change the path (should be unique) of the your-extension-name.webroot path

former_member925277
Discoverer
0 Kudos

Resolved my issue, thanks.

Sachin6
Discoverer
0 Kudos
Thaks you , this solution is working for me , i have changed extnstion.erbroot=extension_rest_junit and after that i ran ant modulegen and it's working for me. ..... Thank you very much for solution.