on 2015 Feb 19 3:05 PM
using Hybris 5.4 and hsqldb
the createtypesystem ant taks throws an error if it is executed when already having db.type.system.name set and increasing the version number.
steps to reproduce: requires standard hybris 5.4 installation (db already initialized)
execute ant target:
ant createtypesystem -DtypeSystemName=1.2.0
add the follwoing line to the local.properties file:
db.type.system.name=1.2.0
execute the ant target again with another version:
ant createtypesystem -DtypeSystemName=1.3.0
the following exception is thrown:
..\build.xml:152: java.lang.IllegalStateException: Source type system '1.2.0' doesn't exist.
at com.google.common.base.Preconditions.checkState(Preconditions.java:149)
at de.hybris.bootstrap.ddl.tools.TypeSystemHelper.requireExistenceOfTypeSystem(TypeSystemHelper.java:248)
at de.hybris.bootstrap.ddl.tools.TypeSystemHelper.getCopyTypeSystemStatements(TypeSystemHelper.java:134)
at de.hybris.bootstrap.ddl.tools.TypeSystemHelper.copyTypeSystem(TypeSystemHelper.java:105)
at de.hybris.bootstrap.ddl.tools.TypeSystemHelper.createTypeSystemBasedOnCurrentTypeSystem(TypeSystemHelper.java:69)
at de.hybris.ant.taskdefs.init.TypeSystemCreatorTask.executeTypeSystemTask(TypeSystemCreatorTask.java:37)
at de.hybris.ant.taskdefs.init.AbstractTypeSystemTask.execute(AbstractTypeSystemTask.java:28)
i traced it back to follwing query which only returns DEFAULT but not 1.2.0
select distinct typesystemname from ydeployments
Is this behavior intended or am I using the feature the wrong way?
Request clarification before answering.
the same problemm :((
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We'll have a look into it. From what I it should have worked for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.