Thanks for your reply, I have comments inline:

ant elder :
Great stuff, that all sounds very impresive. A couple of comments in line... Problem 1. Erlang binding uses official jinterface library which I
    didn't found in official maven repositories. It can be added locally
    to maven repository, but it obviously breaks automation of building
    project. What is your experience for such case?


Ideally we'd get it put in the maven repository, the owner may do that if we ask. In the mean time create a repository somewhere and define that repository in your pom.xml, eg:

    <repositories>
<!-- This is required to work around a bug in the JRuby pom, see http://jira.codehaus.org/browse/JRUBY-901 -->
       <repository>
          <id>ant-jruby</id>
          <url>http://people.apache.org/~antelder/jruby-repo</url>
          <snapshots>
             <enabled>true</enabled>
          </snapshots>
       </repository>
    </repositories>

We've a repo in SVN that some are using for that - https://svn.apache.org/repos/asf/tuscany/maven/ - I'm not sure if the ASF infrastructure people really like us using SVN like that though.

So I've fixed jinterface dependency to point at temporary repo. I think moving Erlang code out of sandbox would be a good moment for installing jinterface library in official maven repository. Who should I contact?

    Problem 2. Testing-  Erlang uses Erlang Port Mapper Demon (epmd) to
    register nodes etc. Epmd is standalone, non-java program and Erlang
    binding tests needs it to be launched - it also can break automation
    of building and testing project. I don't feel like rewriting it in
    Java ;) Also having native Erlang nodes would be the best (not
    emulating them by jinterface) and to do that we need to execute
    native erl binary. Any thoughts?


Could you use Runtime.getRuntime().exec()?

We could, but in this case user should have epmd installed manually (which can be done by building Erlang distribution). I suppose we don't want to add epmd binary (multiple versions for various platforms) to Tuscany distribution. So maybe reasonable solution would be enabling JUnit testing if epmd program is available? In this case we could mark it in documentation (so Erlang user would be informed), and to have it tested all the time we could install epmd on Tuscany build machine.

Thanks,
Wojtek

Reply via email to