Remis Baima 9 年之前 Great feature!- When will it be available in 6.2 EE?- Will DB changes be automagically rolled-back by Arquillian (e.g. a User added only for testing purposes will be automagically deleted when the test is done)? 请登录以投票。 以……回复 取消 Manuel de la Peña Remis Baima 9 年之前 Hi Remis, sorry for the late response...Relating to 6.2 EE, we still need to work on it, that's why we cannot estimate a date, but we should definitively do that backport. We'll update a blog entry with it then.And in terms of reverting data from the DB, Arquillian is not the responsible of performing those operations, it's the Liferay testing infrastructure itself. There are some jUnit listeners and custom annotations that allow rolling back anything you created within your tests. We could elaborate it more on this wiki page: https://www.liferay.com/es/community/wiki/-/wiki/Main/Liferay+Testing+InfrastructureThanks for your feedback! 请登录以投票。 以……回复 取消
Manuel de la Peña Remis Baima 9 年之前 Hi Remis, sorry for the late response...Relating to 6.2 EE, we still need to work on it, that's why we cannot estimate a date, but we should definitively do that backport. We'll update a blog entry with it then.And in terms of reverting data from the DB, Arquillian is not the responsible of performing those operations, it's the Liferay testing infrastructure itself. There are some jUnit listeners and custom annotations that allow rolling back anything you created within your tests. We could elaborate it more on this wiki page: https://www.liferay.com/es/community/wiki/-/wiki/Main/Liferay+Testing+InfrastructureThanks for your feedback! 请登录以投票。 以……回复 取消
Jordi Joan Gomez Augustin 9 年之前 Hi Manuel,I tried to use Arquillian with my maven portlets using a liferay bundle ( tomcat 7) but I can not manage for making it work!I found some post from Carlos Sierra about implementing Arquillian with Maven Plugins. Do you know which is the progress on this task? Is there any "full" example? I mean with the pom file, arquillian.xml, tomcat configuration and WebArchive createDeployment method.Thanks a lotJordi-Joan 请登录以投票。 以……回复 取消 Manuel de la Peña Jordi Joan Gomez Augustin 9 年之前 Hi Jordi-Joan, there is a showcase defining a basic Maven pom to generate the project. You can check it here: https://github.com/kameshsampath/liferay-arquillian-showcasePlease tell us your experience, your feedback is valuable! 请登录以投票。 以……回复 取消 Joerg Schaefer Manuel de la Peña 9 年之前 Hi Manual, thanks for the liferay-arquillian-showcase. It works fine.I tried to do my own sample arquillian test (standalone plugin portlet) using maven but the execution of the JUnit tests fails with the errors:org.jboss.shrinkwrap.api.importer.ArchiveImportException: Could not obtain ZIP File from File ...java.io.FileNotFoundException: C:\lr62\workspace\_demoArquillian\target\classes\..\_demoArquillian.war (The system cannot find the file specified) ...It tries to get the file _demoArquillian.war but only a file _demoArquillian-1.0.0-SNAPSHOT.war was generated.Please could you also provide a sample plugin using arquillian without the need of a parent pom / modul usage. I think the pom structure is related to my errors.If you want i can send you my sample test portlet.thx Joerg 请登录以投票。 以……回复 取消 Kamesh Sampath Joerg Schaefer 9 年之前 Hey Joerg,can you please post your pom.xml and the test class for reference? if possible your whole demo project will be handy to debug.-Kamesh 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Kamesh Sampath 9 年之前 Hi Kamesh,I created my own portlet and I finally made the tests work with ArquillianI can see the log with my simple test (system.out of some text) and when the tests has finished the undeploy of the application.The Log is"-------------------------------------------------------------------------------Test set: com.example.arquillian.ArquillianIntegrationTest-------------------------------------------------------------------------------Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.791 sec"But when I run it, I get two errors althought the test has been done properly"16:07:48.042 [main] ERROR o.a.l.m.i.tasks.ExecuteDeployerTask - Error executing deployer task :com.liferay.portal.tools.deploy.PortletDeployerjava.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolver""16:07:48.046 [main] ERROR o.a.l.m.i.tasks.ExecuteDeployerTask - Error executing deployer task :com.liferay.portal.tools.deploy.PortletDeployerjava.lang.ClassNotFoundException: com.liferay.portal.tools.deploy.PortletDeployer"Have you seen it before?Thanks in advance,Jordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i sent you the demo to your liferay mail account.Thx Joerg 请登录以投票。 以……回复 取消 Kamesh Sampath Joerg Schaefer 9 年之前 Hey Joerg,Here is the fix for your issue, please do set the <finalName> in your build to your artifactId, I am checking the finalName only in the extension. This will get it working for you, i will patch the sources and update this post so that you don't need to forcibly use "finalName".HTH, 请登录以投票。 以……回复 取消 Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i checked my pom.xml but cannot find a <finalName>. Please could you post the wrong snippet.Thx 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 Hi Kamesh,sorry i was wrong. i read "please do not set the finalName" but you wrote "please do set...". However I tried it and now it works.Thanks a lotJoerg 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Joerg Schaefer 9 年之前 Hi Joerg,Could you share your sample test portlet?ThanksJordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Jordi Joan Gomez Augustin 9 年之前 Hi Jordi,sure. Please send me your mail address. Maybe via liferay chat.regards Joerg 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Manuel de la Peña Jordi Joan Gomez Augustin 9 年之前 Hi Jordi-Joan, there is a showcase defining a basic Maven pom to generate the project. You can check it here: https://github.com/kameshsampath/liferay-arquillian-showcasePlease tell us your experience, your feedback is valuable! 请登录以投票。 以……回复 取消 Joerg Schaefer Manuel de la Peña 9 年之前 Hi Manual, thanks for the liferay-arquillian-showcase. It works fine.I tried to do my own sample arquillian test (standalone plugin portlet) using maven but the execution of the JUnit tests fails with the errors:org.jboss.shrinkwrap.api.importer.ArchiveImportException: Could not obtain ZIP File from File ...java.io.FileNotFoundException: C:\lr62\workspace\_demoArquillian\target\classes\..\_demoArquillian.war (The system cannot find the file specified) ...It tries to get the file _demoArquillian.war but only a file _demoArquillian-1.0.0-SNAPSHOT.war was generated.Please could you also provide a sample plugin using arquillian without the need of a parent pom / modul usage. I think the pom structure is related to my errors.If you want i can send you my sample test portlet.thx Joerg 请登录以投票。 以……回复 取消 Kamesh Sampath Joerg Schaefer 9 年之前 Hey Joerg,can you please post your pom.xml and the test class for reference? if possible your whole demo project will be handy to debug.-Kamesh 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Kamesh Sampath 9 年之前 Hi Kamesh,I created my own portlet and I finally made the tests work with ArquillianI can see the log with my simple test (system.out of some text) and when the tests has finished the undeploy of the application.The Log is"-------------------------------------------------------------------------------Test set: com.example.arquillian.ArquillianIntegrationTest-------------------------------------------------------------------------------Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.791 sec"But when I run it, I get two errors althought the test has been done properly"16:07:48.042 [main] ERROR o.a.l.m.i.tasks.ExecuteDeployerTask - Error executing deployer task :com.liferay.portal.tools.deploy.PortletDeployerjava.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolver""16:07:48.046 [main] ERROR o.a.l.m.i.tasks.ExecuteDeployerTask - Error executing deployer task :com.liferay.portal.tools.deploy.PortletDeployerjava.lang.ClassNotFoundException: com.liferay.portal.tools.deploy.PortletDeployer"Have you seen it before?Thanks in advance,Jordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i sent you the demo to your liferay mail account.Thx Joerg 请登录以投票。 以……回复 取消 Kamesh Sampath Joerg Schaefer 9 年之前 Hey Joerg,Here is the fix for your issue, please do set the <finalName> in your build to your artifactId, I am checking the finalName only in the extension. This will get it working for you, i will patch the sources and update this post so that you don't need to forcibly use "finalName".HTH, 请登录以投票。 以……回复 取消 Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i checked my pom.xml but cannot find a <finalName>. Please could you post the wrong snippet.Thx 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 Hi Kamesh,sorry i was wrong. i read "please do not set the finalName" but you wrote "please do set...". However I tried it and now it works.Thanks a lotJoerg 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Joerg Schaefer 9 年之前 Hi Joerg,Could you share your sample test portlet?ThanksJordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Jordi Joan Gomez Augustin 9 年之前 Hi Jordi,sure. Please send me your mail address. Maybe via liferay chat.regards Joerg 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Joerg Schaefer Manuel de la Peña 9 年之前 Hi Manual, thanks for the liferay-arquillian-showcase. It works fine.I tried to do my own sample arquillian test (standalone plugin portlet) using maven but the execution of the JUnit tests fails with the errors:org.jboss.shrinkwrap.api.importer.ArchiveImportException: Could not obtain ZIP File from File ...java.io.FileNotFoundException: C:\lr62\workspace\_demoArquillian\target\classes\..\_demoArquillian.war (The system cannot find the file specified) ...It tries to get the file _demoArquillian.war but only a file _demoArquillian-1.0.0-SNAPSHOT.war was generated.Please could you also provide a sample plugin using arquillian without the need of a parent pom / modul usage. I think the pom structure is related to my errors.If you want i can send you my sample test portlet.thx Joerg 请登录以投票。 以……回复 取消 Kamesh Sampath Joerg Schaefer 9 年之前 Hey Joerg,can you please post your pom.xml and the test class for reference? if possible your whole demo project will be handy to debug.-Kamesh 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Kamesh Sampath 9 年之前 Hi Kamesh,I created my own portlet and I finally made the tests work with ArquillianI can see the log with my simple test (system.out of some text) and when the tests has finished the undeploy of the application.The Log is"-------------------------------------------------------------------------------Test set: com.example.arquillian.ArquillianIntegrationTest-------------------------------------------------------------------------------Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.791 sec"But when I run it, I get two errors althought the test has been done properly"16:07:48.042 [main] ERROR o.a.l.m.i.tasks.ExecuteDeployerTask - Error executing deployer task :com.liferay.portal.tools.deploy.PortletDeployerjava.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolver""16:07:48.046 [main] ERROR o.a.l.m.i.tasks.ExecuteDeployerTask - Error executing deployer task :com.liferay.portal.tools.deploy.PortletDeployerjava.lang.ClassNotFoundException: com.liferay.portal.tools.deploy.PortletDeployer"Have you seen it before?Thanks in advance,Jordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i sent you the demo to your liferay mail account.Thx Joerg 请登录以投票。 以……回复 取消 Kamesh Sampath Joerg Schaefer 9 年之前 Hey Joerg,Here is the fix for your issue, please do set the <finalName> in your build to your artifactId, I am checking the finalName only in the extension. This will get it working for you, i will patch the sources and update this post so that you don't need to forcibly use "finalName".HTH, 请登录以投票。 以……回复 取消 Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i checked my pom.xml but cannot find a <finalName>. Please could you post the wrong snippet.Thx 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 Hi Kamesh,sorry i was wrong. i read "please do not set the finalName" but you wrote "please do set...". However I tried it and now it works.Thanks a lotJoerg 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Joerg Schaefer 9 年之前 Hi Joerg,Could you share your sample test portlet?ThanksJordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Jordi Joan Gomez Augustin 9 年之前 Hi Jordi,sure. Please send me your mail address. Maybe via liferay chat.regards Joerg 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Kamesh Sampath Joerg Schaefer 9 年之前 Hey Joerg,can you please post your pom.xml and the test class for reference? if possible your whole demo project will be handy to debug.-Kamesh 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Kamesh Sampath 9 年之前 Hi Kamesh,I created my own portlet and I finally made the tests work with ArquillianI can see the log with my simple test (system.out of some text) and when the tests has finished the undeploy of the application.The Log is"-------------------------------------------------------------------------------Test set: com.example.arquillian.ArquillianIntegrationTest-------------------------------------------------------------------------------Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.791 sec"But when I run it, I get two errors althought the test has been done properly"16:07:48.042 [main] ERROR o.a.l.m.i.tasks.ExecuteDeployerTask - Error executing deployer task :com.liferay.portal.tools.deploy.PortletDeployerjava.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolver""16:07:48.046 [main] ERROR o.a.l.m.i.tasks.ExecuteDeployerTask - Error executing deployer task :com.liferay.portal.tools.deploy.PortletDeployerjava.lang.ClassNotFoundException: com.liferay.portal.tools.deploy.PortletDeployer"Have you seen it before?Thanks in advance,Jordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i sent you the demo to your liferay mail account.Thx Joerg 请登录以投票。 以……回复 取消 Kamesh Sampath Joerg Schaefer 9 年之前 Hey Joerg,Here is the fix for your issue, please do set the <finalName> in your build to your artifactId, I am checking the finalName only in the extension. This will get it working for you, i will patch the sources and update this post so that you don't need to forcibly use "finalName".HTH, 请登录以投票。 以……回复 取消 Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i checked my pom.xml but cannot find a <finalName>. Please could you post the wrong snippet.Thx 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 Hi Kamesh,sorry i was wrong. i read "please do not set the finalName" but you wrote "please do set...". However I tried it and now it works.Thanks a lotJoerg 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Joerg Schaefer 9 年之前 Hi Joerg,Could you share your sample test portlet?ThanksJordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Jordi Joan Gomez Augustin 9 年之前 Hi Jordi,sure. Please send me your mail address. Maybe via liferay chat.regards Joerg 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Jordi Joan Gomez Augustin Kamesh Sampath 9 年之前 Hi Kamesh,I created my own portlet and I finally made the tests work with ArquillianI can see the log with my simple test (system.out of some text) and when the tests has finished the undeploy of the application.The Log is"-------------------------------------------------------------------------------Test set: com.example.arquillian.ArquillianIntegrationTest-------------------------------------------------------------------------------Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.791 sec"But when I run it, I get two errors althought the test has been done properly"16:07:48.042 [main] ERROR o.a.l.m.i.tasks.ExecuteDeployerTask - Error executing deployer task :com.liferay.portal.tools.deploy.PortletDeployerjava.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolver""16:07:48.046 [main] ERROR o.a.l.m.i.tasks.ExecuteDeployerTask - Error executing deployer task :com.liferay.portal.tools.deploy.PortletDeployerjava.lang.ClassNotFoundException: com.liferay.portal.tools.deploy.PortletDeployer"Have you seen it before?Thanks in advance,Jordi-Joan 请登录以投票。 以……回复 取消
Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i sent you the demo to your liferay mail account.Thx Joerg 请登录以投票。 以……回复 取消 Kamesh Sampath Joerg Schaefer 9 年之前 Hey Joerg,Here is the fix for your issue, please do set the <finalName> in your build to your artifactId, I am checking the finalName only in the extension. This will get it working for you, i will patch the sources and update this post so that you don't need to forcibly use "finalName".HTH, 请登录以投票。 以……回复 取消 Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i checked my pom.xml but cannot find a <finalName>. Please could you post the wrong snippet.Thx 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 Hi Kamesh,sorry i was wrong. i read "please do not set the finalName" but you wrote "please do set...". However I tried it and now it works.Thanks a lotJoerg 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Joerg Schaefer 9 年之前 Hi Joerg,Could you share your sample test portlet?ThanksJordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Jordi Joan Gomez Augustin 9 年之前 Hi Jordi,sure. Please send me your mail address. Maybe via liferay chat.regards Joerg 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Kamesh Sampath Joerg Schaefer 9 年之前 Hey Joerg,Here is the fix for your issue, please do set the <finalName> in your build to your artifactId, I am checking the finalName only in the extension. This will get it working for you, i will patch the sources and update this post so that you don't need to forcibly use "finalName".HTH, 请登录以投票。 以……回复 取消 Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i checked my pom.xml but cannot find a <finalName>. Please could you post the wrong snippet.Thx 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 Hi Kamesh,sorry i was wrong. i read "please do not set the finalName" but you wrote "please do set...". However I tried it and now it works.Thanks a lotJoerg 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Joerg Schaefer 9 年之前 Hi Joerg,Could you share your sample test portlet?ThanksJordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Jordi Joan Gomez Augustin 9 年之前 Hi Jordi,sure. Please send me your mail address. Maybe via liferay chat.regards Joerg 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Joerg Schaefer Kamesh Sampath 9 年之前 Hi Kamesh,i checked my pom.xml but cannot find a <finalName>. Please could you post the wrong snippet.Thx 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 Hi Kamesh,sorry i was wrong. i read "please do not set the finalName" but you wrote "please do set...". However I tried it and now it works.Thanks a lotJoerg 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Joerg Schaefer 9 年之前 Hi Joerg,Could you share your sample test portlet?ThanksJordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Jordi Joan Gomez Augustin 9 年之前 Hi Jordi,sure. Please send me your mail address. Maybe via liferay chat.regards Joerg 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Joerg Schaefer Joerg Schaefer 9 年之前 Hi Kamesh,sorry i was wrong. i read "please do not set the finalName" but you wrote "please do set...". However I tried it and now it works.Thanks a lotJoerg 请登录以投票。 以……回复 取消 Jordi Joan Gomez Augustin Joerg Schaefer 9 年之前 Hi Joerg,Could you share your sample test portlet?ThanksJordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Jordi Joan Gomez Augustin 9 年之前 Hi Jordi,sure. Please send me your mail address. Maybe via liferay chat.regards Joerg 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Jordi Joan Gomez Augustin Joerg Schaefer 9 年之前 Hi Joerg,Could you share your sample test portlet?ThanksJordi-Joan 请登录以投票。 以……回复 取消 Joerg Schaefer Jordi Joan Gomez Augustin 9 年之前 Hi Jordi,sure. Please send me your mail address. Maybe via liferay chat.regards Joerg 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Joerg Schaefer Jordi Joan Gomez Augustin 9 年之前 Hi Jordi,sure. Please send me your mail address. Maybe via liferay chat.regards Joerg 请登录以投票。 以……回复 取消 Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Joerg Schaefer Joerg Schaefer 9 年之前 I tried another example. I have a corporate pom and the plugin uses it as parent. In this corporate pom i moved most of the maven stuff. If i run now the test, i get back the following excetion:java.lang.ClassNotFoundException: com.liferay.portal.util.EntityResolverAs consequence the war file was not built!Have somebody seen that before?Thx Joerg 请登录以投票。 以……回复 取消
Kaushik Mukherjee 8 年之前 Hi All, I followed this post and was able to successfully run a Arquillian Junit Test on Tomcat bundle. But when i ported this project to jboss , i am getting this exception Caused by: java.lang.Exception: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"Arquillian-Liferay-Portlet.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Arquillian-Liferay-Portlet.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"Arquillian-Liferay-Portlet.war\"Caused by: java.lang.LinkageError: Failed to link com/liferay/taglib/util/ParamAndPropertyAncestorTagImpl (Module \"deployment.Arquillian-Liferay-Portlet.war:main\" from Service Module Loader)Caused by: java.lang.NoClassDefFoundError: com/liferay/portal/kernel/servlet/taglib/BaseBodyTagSupportCaused by: java.lang.ClassNotFoundException: com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport from [Module \"deployment.Arquillian-Liferay-Portlet.war:main\" from Service Module Loader]"}}Changes done for running the project on Jboss are a) pom.xml changed to point to jboss remote container b) arquillian. xml changed.Does arquillian liferay maven plugin supports running test on Jboss ? If it supports let me know what might be the issue.Thanks in Advance.Kaushik Mukherjee 请登录以投票。 以……回复 取消 Kamesh Sampath Kaushik Mukherjee 8 年之前 Yes maven plugins does support the jboss containers. I see its typically issue of your app not able to load the right modules, typically ones from /system/layers/base/.. Please check your Liferay on JBoss Portal works as expected without Arquillpian and then try with the test. I guess its more of Portal not setup correctly on JBoss 请登录以投票。 以……回复 取消
Kamesh Sampath Kaushik Mukherjee 8 年之前 Yes maven plugins does support the jboss containers. I see its typically issue of your app not able to load the right modules, typically ones from /system/layers/base/.. Please check your Liferay on JBoss Portal works as expected without Arquillpian and then try with the test. I guess its more of Portal not setup correctly on JBoss 请登录以投票。 以……回复 取消
Kaushik Mukherjee 8 年之前 Hi Kamesh,Yes, the Liferay works as expected without Arquillian. After seeing your post , I downloaded a fresh liferay Jboss bundle and tried to run the test, but still encountered the same error. Let me know what could be the issue. Your help is greatly appreciated.Thanks,Kaushik 请登录以投票。 以……回复 取消