-
Type:
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
Affects Version/s: 7.0.0 M7
-
Fix Version/s: 7.0.0 Alpha 2
-
Component/s: Dev Tools, Dev Tools > Plugins SDK
-
Labels:None
DESCRIPTION:
In the pull https://github.com/cgoncas/liferay-portal/pull/147 you can see that the plugin.classpath of dynamic-data-mapping-test-util is:
[echo] |-- compile classpath for /opt/dev/projects/github/liferay-portal/modules/apps/dynamic-data-mapping/dynamic-data-mapping-test-util
[echo] | |
[echo] | |-- /opt/dev/projects/github/liferay-portal/modules/addons/portlet-configuration-icon/portlet-configuration-icon-close/classes
[echo] | |-- /opt/dev/projects/github/liferay-portal/bundles/tomcat-7.0.62/webapps/ROOT/WEB-INF/classes
[echo] | |-- ....
[echo] | |-- /opt/dev/projects/github/liferay-portal/tools/sdk/dependencies/aQute.bnd/lib/biz.aQute.bnd.jar
[echo] | |-- /opt/dev/projects/github/liferay-portal/tools/sdk/lib/mail.jar
But if you execute ant clean deploy inside dynamic-data-mapping-test-util you get:
[echo] |-- compile classpath for /Users/Cristina/Work/Code/liferay-portal/modules/apps/dynamic-data-mapping/dynamic-data-mapping-test-util
[echo] | |
[echo] | |-- /...
[echo] | |-- /Users/Cristina/Work/Code/bundles/osgi/test/portal-test-internal.jar
[echo] | |-- /Users/Cristina/Work/Code/bundles/osgi/test/portal-test.jar
In the first case the libs portal-test-internal and portal-test are not in the plugin.classpath
HOW TO REPRODUCE THE BUG
1) Add a echo of the the plugin.classpath in build-common.xml
<pathconvert pathsep="${line.separator}| |-- "
property="echo.path.compile"
refid="plugin.classpath">
</pathconvert>
<!-- show classpath jars -->
<echo message="|-- compile classpath for @
"/>
<echo message="| |"/>
<echo message="| |-- ${echo.path.compile}"/>
2) Execute ant clean compile from the folder modules/core
3) Execute ant clean compile from the folder modules/core/registry-api
4) You should see that both executions show diferents classpaths for registry-data