syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Syncope > Install connector bundles
Date Thu, 02 May 2013 13:41:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/3/_/styles/combined.css?spaceKey=SYNCOPE&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles?focusedCommentId=31820437#comment-31820437">Install
connector bundles</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://cwiki.apache.org/confluence/display/~ilgrosso">Francesco
Chicchiricco</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p><tt>bundles.directory</tt> is a Maven property defined in the
parent POM of the Syncope version you are running; see examples for <a href="http://svn.apache.org/repos/asf/syncope/branches/1_0_X/parent/pom.xml"
class="external-link" rel="nofollow">1.0.X</a> and <a href="http://svn.apache.org/repos/asf/syncope/branches/1_1_X/pom.xml"
class="external-link" rel="nofollow">1.1.X</a> (look under &lt;properties&gt;).</p>

<p>The root POM of your own project has the POM referenced above as parent POM: this
means that all properties defined in the former are available in the latter, including <tt>bundles.directory</tt>.</p>

<p>When you run embedded mode, <tt>bundles.directory</tt> is <tt>${project.build.directory}/bundles</tt>,
e.g. normally <tt>core/target/bundles</tt>.</p>

<p>When you build your own project via</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
mvn clean <span class="code-keyword">package</span> -Dbundles.directory=/opt/syncope/bundles
-Dlog.directory=/opt/syncope/log
</pre>
</div></div>

<p>you are just overriding the default value for <tt>bundles.directory</tt>
- e.g. the one defined in the parent POM.</p>

<p>Actually, the path reported by you above (<tt>/home/ilgrosso/work/syncope/1_1_X/target/checkout/core/target/bundles/</tt>)
is generated during the archetype deployment and is ignored; if you generated your own project
before 1.1.0 was released, you are probably missing some files under <tt>core/src/main/resources</tt>:
I'd suggest to start with a new project and to compare with your current.</p>
    </div>

                <div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/confluence/display/~jessevanbekkum"
                          class="url fn confluence-userlink" data-username="jessevanbekkum"
                   >Jesse van Bekkum</a>:</strong><br/>
        <p>Francesco. Could you verify if the part about adding on run-time is correct,
and perhaps expand a bit on this?</p>

<p>I tried that, but it kept trying to find my bundles in /home/ilgrosso/work/syncope/1_1_X/target/checkout/core/target/bundles/.
I also searched the source and I could not find a single instance of "bundles.directory" in
the core or the common projects, so I fail to see how this could work.</p>
        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles?focusedCommentId=31820437#comment-31820437">View
Online</a>
              |
       <a id="reply-31820437" href="https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles?replyToComment=31820437#comment-31820437">Reply
To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message