cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to import impex files from command line

Former Member
0 Kudos
2,471

Hi Team,

we have a requirement to import impex files from the command line as a part DevOps automation.

we are executing below ant command for importing the impex files into the hybris system.

  1.    ant importImpex -Dresource=myLocalImport.impex
    
  2.    ant importImpex -Dresource=file:///Users/zeus/myLocalImport.impex
    
    

Though the ant command doesn't throw any error message, the impex changes are not reflecting the Hybris system.

If we try to import the impex files using HAC portal, then the changes are reflecting.

Please let me know if i need to run any other command after executing "ant importImpex"

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, , try

  1. stop the server

  2. ant clean all

  3. ant importImpex....

  4. restart the server

Reason behind is that when we do ant all then previous item type data is also persist in Database but when we do ant clean all then prevoius item type data is clean then it re-build.

hope it helps for you

Former Member
0 Kudos

Hi ,

Does the ant importimpex command works even for the Hybris suite that comes with embedded database(file system) but not the RDBMS Database(Oracle RAC).

Former Member
0 Kudos

the command works for both database. If it does not works for the RDBMS Database(Oracle RAC) , could you give me more information about the log after running the command and the database configuration.

Thanks