You should be able to run with -Dmaven.test.skip=true to skip the
tests. That should allow you to create the project files at least.
Matt
On 6/15/07, kkus <[EMAIL PROTECTED]> wrote:
After I do a clean build (mvn clean install eclipse:eclipse) as you
suggested, there is an error as below for my env. Oracle 9i(9.0.2) +XP
SP2+JDK 1.5.11,
Running org.appfuse.service.UserManagerTest
INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading
context for locations:
/applicationContext-service.xml,/applicationContext-resources.xml,classpath*:/applicationContext-dao.xml
DEBUG - UserManagerTest.testGetUser(28) |
[EMAIL
PROTECTED],enabled=true,accountExpired=false,credentialsExpired=false,accountLocked=false,Granted
Authorities: ,ROLE_USER]
DEBUG - UserDaoHibernate.saveUser(39) | user's id: null
WARN - JDBCExceptionReporter.logExceptions(77) | SQL Error: 1, SQLState:
23000
ERROR - JDBCExceptionReporter.logExceptions(78) | ORA-00001: unique
constraint (HUJ.SYS_C00194598) violated
WARN - JDBCExceptionReporter.logExceptions(77) | SQL Error: 1, SQLState:
23000
ERROR - JDBCExceptionReporter.logExceptions(78) | ORA-00001: unique
constraint (HUJ.SYS_C00194598) violated
ERROR - AbstractFlushingEventListener.performExecutions(301) | Could not
synchronize database state with session
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC
batch update
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:249)
All data for app_user, role, and user_role are populated correctly. Sequence
hibernate_sequence is built correctly. So there is still no .project and
.classpath at all. Any suggestion?
Eric Fitzsimmons wrote:
>
> build.xml is an ant build file, so maven is your new build tool, but
> it is much more than that as well. I am unsure why the .project and
> .classpath are not showing up. Try running mvn clean install
> eclipse:eclipse and see if that works.
>
> On 6/15/07, kkus <[EMAIL PROTECTED]> wrote:
>>
>> It is working without error. But I can't find expected .project,
>> .classpath
>> and build.xml files. Could you tell me what mvn command does that or I
>> have
>> to configure all libs manually in Eclipse? Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Error-in-2-m5-when-generating-Eclipse-project-file-tf3930106s2369.html#a11149110
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]