Got it. I added the following to the profile:
<activation>
<property>
<name>db</name>
<value>oracle</value>
</property>
</activation>
Then upon execution, I add -Ddb=oracle to the command, (e.g. mvn
jetty:run-war -Ddb=oracle)
tdahlke wrote:
>
> Forgive me, but how do I set it to use this profile?
>
>
> mraible wrote:
>>
>> Which version of AppFuse are you using? You should have the following
>> defined for Oracle in your pom.xml:
>>
>> <profile>
>> <id>oracle</id>
>> <properties>
>>
>> <dbunit.dataTypeFactoryName>org.dbunit.ext.oracle.OracleDataTypeFactory</dbunit.dataTypeFactoryName>
>> <dbunit.schema>SYSTEM</dbunit.schema> <!-- Make sure
>> to capitalize the schema name -->
>> <hibernate.dialect>org.hibernate.dialect.Oracle9Dialect</hibernate.dialect>
>> <jdbc.groupId>com.oracle</jdbc.groupId>
>> <jdbc.artifactId>ojdbc14</jdbc.artifactId>
>> <jdbc.version>10.2.0.2.0</jdbc.version>
>>
>> <jdbc.driverClassName>oracle.jdbc.OracleDriver</jdbc.driverClassName>
>>
>> <jdbc.url><![CDATA[jdbc:oracle:thin:@localhost:1521:XE]]></jdbc.url>
>> <jdbc.username>system</jdbc.username>
>> <jdbc.password>system</jdbc.password>
>> </properties>
>> </profile>
>>
>> Matt
>>
>> On 3/14/07, cedar <[EMAIL PROTECTED]> wrote:
>>>
>>> I also met errors
>>> It sounds like it must have a type,i tried CLEAN_INSERT ,but i faild
>>> ====================================================
>>> [INFO] [compiler:testCompile]
>>> [INFO] Nothing to compile - all classes are up to date
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] One or more required plugin parameters are invalid/missing for
>>> 'dbunit:op
>>> eration'
>>>
>>> [0] inside the definition for plugin: 'dbunit-maven-plugin'specify the
>>> following
>>> :
>>>
>>> <configuration>
>>> ...
>>> <type>VALUE</type>
>>> </configuration>
>>>
>>> -OR-
>>>
>>> on the command line, specify: '-Ddbunit.operation.type=VALUE'
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 13 seconds
>>> [INFO] Finished at: Wed Mar 14 19:36:00 CST 2007
>>> [INFO] Final Memory: 13M/26M
>>>
>>> =======================================
>>>
>>>
>>> Tuncay A. wrote:
>>> >
>>> > Hi,
>>> >
>>> > Anybody run Appfuse 2 on Oracle ?
>>> >
>>> > /t.a
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Anybody-run-Appfuse-2-on-Oracle---tf2545885s2369.html#a9472758
>>> 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]
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Anybody-run-Appfuse-2-on-Oracle---tf2545885s2369.html#a9481867
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]