Jean-Sebastien Delfino wrote:
ant elder wrote:
I've not been able to recreate either of these problems yet. Could you give
a bit more info about what you're doing - how you run the samples, what
maven commands you use, and from what directory etc?

  ...ant


Ant,

Here's what I'm doing.

To rebuild everything:
rm -rf $HOME/.m2/repository
cd tuscany/java
mvn -Pall

To build using the published spec and kernel snapshots:
rm -rf $HOME/.m2/repository
cd tuscany/java
change pom files temporarily to not build the spec/sca and kernel modules (and get them downloaded from the snapshot repos)
mvn -Pall

Both sequences were failing before. The first sequence now builds OK for me.

The second (using the 0.1-pre-spec snapshots) gets this error:

[INFO] ----------------------------------------------------------------------------
[INFO] Building Apache Tuscany Standalone SCA Runtime
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/pom.xml to /home/delfinoj/.m2/repository/org/apache/tuscany/sca/runtime/standalone/standalone/1.0-incubator-SNAPSHOT/standalone-1.0-incubator-SNAPSHOT.pom [INFO] ----------------------------------------------------------------------------
[INFO] Building Apache Tuscany Standalone Runtime
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Resource directory does not exist: /home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/src/main/resources
[INFO] Copying 2 resources to META-INF
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to /home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/target/classes [INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfoImpl.java:[55,8] cannot find symbol symbol : constructor AbstractRuntimeInfo(java.net.URI,java.io.File,java.net.URL,boolean,java.lang.String)
location: class org.apache.tuscany.host.AbstractRuntimeInfo

/home/delfinoj/Tuscany/apache-repos/java/sca/runtime/standalone/standalone-api/src/main/java/org/apache/tuscany/runtime/standalone/StandaloneRuntimeInfoImpl.java:[71,16] getInstallDirectory() in org.apache.tuscany.runtime.standalone.StandaloneRuntimeInfoImpl cannot override getInstallDirectory() in org.apache.tuscany.host.AbstractRuntimeInfo; overridden method is final



Making progress... I realized that the standalone runtime has also been published to the snapshot repos, so I should probably not try to build it from the trunk.

I'd like to use the published 0.1-pre-spec snapshots without building them locally, but build the other pieces. Is there a simple way to do that? or do I need to make changes to the pom.xml to exclude the individual modules that have been published as 0.1-pre-spec snapshots?

Thanks,

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • Re: Build errors Jean-Sebastien Delfino
    • Re: Build errors Jean-Sebastien Delfino

Reply via email to