camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: svn commit: r1346880 - in /camel/trunk: components/ components/camel-quickfix/ components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/ components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/ex
Date Thu, 07 Jun 2012 08:04:04 GMT
Hi

Works now. Thanks.

No worries, about the issue. We have all caused some issues in the past.
And this was really a minor case. Glad the quickfix is upgraded and
ready for Java7.



On Thu, Jun 7, 2012 at 8:58 AM, Babak Vahdat
<babak.vahdat@swissonline.ch> wrote:
> O.K. the cause of the problem was that I forgot to add the camel-quickfix
> module back to the module list again (Thanks Dan) which's done now:
>
> http://svn.apache.org/viewvc?view=revision&revision=1347418
>
> I triggered a manual build for "Camel.trunk.fulltest.java7" to see how it
> will go now.
>
> @Claus now you should be able to build locally again.
>
> Once again sorry for the noise I did cause...
>
> Babak
>
>
> Claus Ibsen-2 wrote
>>
>> Hi
>>
>> This breaks the build as the JAR cannot be downloaded.
>> I just did a
>>
>> mvn clean install -Dtest=false
>>
>> from the root of the project dir.
>>
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process
>> (default) on project apache-camel: Failed to resolve dependencies for
>> one or more projects in the reactor. Reason: Missing:
>> [ERROR] ----------
>> [ERROR] 1) org.quickfixj:quickfixj-all:jar:1.5.2-bd
>> [ERROR]
>> [ERROR] Try downloading the file manually from the project website.
>> [ERROR]
>> [ERROR] Then, install it using the command:
>> [ERROR] mvn install:install-file -DgroupId=org.quickfixj
>> -DartifactId=quickfixj-all -Dversion=1.5.2-bd -Dpackaging=jar
>> -Dfile=/path/to/file
>> [ERROR]
>> [ERROR] Alternatively, if you host your own repository you can deploy
>> the file there:
>> [ERROR] mvn deploy:deploy-file -DgroupId=org.quickfixj
>> -DartifactId=quickfixj-all -Dversion=1.5.2-bd -Dpackaging=jar
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> [ERROR]
>> [ERROR] Path to dependency:
>> [ERROR] 1) org.apache.camel:apache-camel:pom:2.10-SNAPSHOT
>> [ERROR] 2) org.apache.camel:camel-quickfix:jar:2.10-SNAPSHOT
>> [ERROR] 3) org.quickfixj:quickfixj-all:jar:1.5.2-bd
>> [ERROR]
>> [ERROR] ----------
>> [ERROR] 1 required artifact is missing.
>> [ERROR]
>> [ERROR] for artifact:
>> [ERROR] org.apache.camel:apache-camel:pom:2.10-SNAPSHOT
>> [ERROR]
>> [ERROR] from the specified remote repositories:
>> [ERROR] apache.snapshots (http://repository.apache.org/snapshots/,
>> releases=false, snapshots=true),
>> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true,
>> snapshots=false)
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :apache-camel
>>
>>
>> On Wed, Jun 6, 2012 at 3:23 PM,  &lt;bvahdat@&gt; wrote:
>>> Author: bvahdat
>>> Date: Wed Jun  6 13:23:03 2012
>>> New Revision: 1346880
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1346880&view=rev
>>> Log:
>>> CAMEL-5334: Upgrade to QuickFIX/J 1.5.2.
>>>
>>> Modified:
>>>    camel/trunk/components/camel-quickfix/pom.xml
>>>
>>>  camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/QuickfixjConverters.java
>>>
>>>  camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/trading/TradeExecutor.java
>>>    camel/trunk/components/pom.xml
>>>    camel/trunk/parent/pom.xml
>>>    camel/trunk/platforms/karaf/features/pom.xml
>>>
>>> Modified: camel/trunk/components/camel-quickfix/pom.xml
>>> URL:
>>> http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/pom.xml?rev=1346880&r1=1346879&r2=1346880&view=diff
>>> ==============================================================================
>>> --- camel/trunk/components/camel-quickfix/pom.xml (original)
>>> +++ camel/trunk/components/camel-quickfix/pom.xml Wed Jun  6 13:23:03
>>> 2012
>>> @@ -38,9 +38,9 @@
>>>
>>>   <repositories>
>>>     <repository>
>>> -      <id>smx.m2</id>
>>> -      <name>ServiceMix M2 Repository</name>
>>> -      <url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url>
>>> +      <id>marketcetera.m2</id>
>>> +      <name>Marketcetera M2 Repository</name>
>>> +      <url>http://repo.marketcetera.org/maven</url>
>>>     </repository>
>>>   </repositories>
>>>
>>> @@ -50,7 +50,7 @@
>>>       <artifactId>camel-core</artifactId>
>>>     </dependency>
>>>     <dependency>
>>> -      <groupId>org.quickfixj</groupId>
>>> +      <groupId>quickfixj</groupId>
>>>       <artifactId>quickfixj-all</artifactId>
>>>       <version>${quickfix-version}</version>
>>>     </dependency>
>>>
>>> Modified:
>>> camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/QuickfixjConverters.java
>>> URL:
>>> http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/QuickfixjConverters.java?rev=1346880&r1=1346879&r2=1346880&view=diff
>>> ==============================================================================
>>> ---
>>> camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/QuickfixjConverters.java
>>> (original)
>>> +++
>>> camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/converter/QuickfixjConverters.java
>>> Wed Jun  6 13:23:03 2012
>>> @@ -100,15 +100,17 @@ public final class QuickfixjConverters {
>>>     private static DataDictionary getDataDictionary(Exchange exchange)
>>> throws ConfigError {
>>>         Object dictionaryValue =
>>> exchange.getProperties().get(QuickfixjEndpoint.DATA_DICTIONARY_KEY);
>>>
>>> -        DataDictionary dataDictionary;
>>> +        DataDictionary dataDictionary = null;
>>>         if (dictionaryValue instanceof DataDictionary) {
>>>             dataDictionary = (DataDictionary) dictionaryValue;
>>>         } else if (dictionaryValue instanceof String) {
>>>             dataDictionary = new DataDictionary((String)
>>> dictionaryValue);
>>>         } else {
>>> -            SessionID sessionID = (SessionID)
>>> exchange.getIn().getHeader(QuickfixjEndpoint.SESSION_ID_KEY);
>>> -            Session session = Session.lookupSession(sessionID);
>>> -            dataDictionary = session != null ?
>>> session.getDataDictionary() : null;
>>> +            SessionID sessionID =
>>> exchange.getIn().getHeader(QuickfixjEndpoint.SESSION_ID_KEY,
>>> SessionID.class);
>>> +            if (sessionID != null) {
>>> +                Session session = Session.lookupSession(sessionID);
>>> +                dataDictionary = session != null ?
>>> session.getDataDictionary() : null;
>>> +            }
>>>         }
>>>
>>>         return dataDictionary;
>>>
>>> Modified:
>>> camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/trading/TradeExecutor.java
>>> URL:
>>> http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/trading/TradeExecutor.java?rev=1346880&r1=1346879&r2=1346880&view=diff
>>> ==============================================================================
>>> ---
>>> camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/trading/TradeExecutor.java
>>> (original)
>>> +++
>>> camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/trading/TradeExecutor.java
>>> Wed Jun  6 13:23:03 2012
>>> @@ -160,7 +160,7 @@ public class TradeExecutor {
>>>         if (order.getChar(OrdType.FIELD) == OrdType.LIMIT) {
>>>             BigDecimal limitPrice = new
>>> BigDecimal(order.getString(Price.FIELD));
>>>             char side = order.getChar(Side.FIELD);
>>> -            BigDecimal thePrice = new
>>> BigDecimal(Double.toString(price.getValue()));
>>> +            BigDecimal thePrice = price.getValue();
>>>
>>>             return (side == Side.BUY && thePrice.compareTo(limitPrice)
<=
>>> 0)
>>>                 || ((side == Side.SELL || side == Side.SELL_SHORT) &&
>>> thePrice.compareTo(limitPrice) >= 0);
>>>
>>> Modified: camel/trunk/components/pom.xml
>>> URL:
>>> http://svn.apache.org/viewvc/camel/trunk/components/pom.xml?rev=1346880&r1=1346879&r2=1346880&view=diff
>>> ==============================================================================
>>> --- camel/trunk/components/pom.xml (original)
>>> +++ camel/trunk/components/pom.xml Wed Jun  6 13:23:03 2012
>>> @@ -161,16 +161,4 @@
>>>     <module>camel-zookeeper</module>
>>>   </modules>
>>>
>>> -  <profiles>
>>> -        <profile>
>>> -            <id>jdk16</id>
>>> -            <activation>
>>> -                <jdk>1.6</jdk>
>>> -            </activation>
>>> -            <modules>
>>> -                <module>camel-quickfix</module>
>>> -            </modules>
>>> -        </profile>
>>> -  </profiles>
>>> -
>>>  </project>
>>>
>>> Modified: camel/trunk/parent/pom.xml
>>> URL:
>>> http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=1346880&r1=1346879&r2=1346880&view=diff
>>> ==============================================================================
>>> --- camel/trunk/parent/pom.xml (original)
>>> +++ camel/trunk/parent/pom.xml Wed Jun  6 13:23:03 2012
>>> @@ -151,7 +151,7 @@
>>>     <protobuf-version>2.3.0</protobuf-version>
>>>     <qpid-version>0.16</qpid-version>
>>>     <quartz-version>1.8.5</quartz-version>
>>> -    <quickfix-version>1.5.1</quickfix-version>
>>> +    <quickfix-version>1.5.2-bd</quickfix-version>
>>>     <restlet-version>2.0.14</restlet-version>
>>>     <rome-version>1.0</rome-version>
>>>     <saxon-version>9.3.0.11</saxon-version>
>>>
>>> Modified: camel/trunk/platforms/karaf/features/pom.xml
>>> URL:
>>> http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/pom.xml?rev=1346880&r1=1346879&r2=1346880&view=diff
>>> ==============================================================================
>>> --- camel/trunk/platforms/karaf/features/pom.xml (original)
>>> +++ camel/trunk/platforms/karaf/features/pom.xml Wed Jun  6 13:23:03 2012
>>> @@ -104,7 +104,7 @@
>>>
>>> <protobuf-java-bundle-version>2.3.0_3</protobuf-java-bundle-version>
>>>       <quartz-bundle-version>1.8.6_1</quartz-bundle-version>
>>>       <qpid-bundle-version>0.14_1</qpid-bundle-version>
>>> -      <quickfix-bundle-version>1.5.1_2</quickfix-bundle-version>
>>> +      <quickfix-bundle-version>1.5.2_1</quickfix-bundle-version>
>>>       <regexp-bundle-version>1.3_3</regexp-bundle-version>
>>>       <rhino-bundle-version>1.7R2_3</rhino-bundle-version>
>>>       <rome-bundle-version>1.0_3</rome-bundle-version>
>>>
>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: cibsen@
>> Web: http://fusesource.com
>> Twitter: davsclaus, fusenews
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Re-svn-commit-r1346880-in-camel-trunk-components-components-camel-quickfix-components-camel-quickfixx-tp5714112p5714118.html
> Sent from the Camel Development mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message