directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn McKinney (Jira)" <j...@apache.org>
Subject [jira] [Created] (FC-287) Fortress Ant load improvements
Date Mon, 09 Nov 2020 13:39:00 GMT
Shawn McKinney created FC-287:
---------------------------------

             Summary: Fortress Ant load improvements
                 Key: FC-287
                 URL: https://issues.apache.org/jira/browse/FC-287
             Project: FORTRESS
          Issue Type: Improvement
    Affects Versions: 2.0.5
            Reporter: Shawn McKinney
            Assignee: Shawn McKinney


A couple of improvements:

1.Add 'debug' mode, startup load in suspended state, allow JDB process to attach.

```

mvn install -Dload.file=./ldap/setup/loadFile.xml -Ddebug

```

 

2. Use maven test classpath instead of classpath element list.

 

Use this:

```

<java classname="org.apache.tools.ant.launch.Launcher" fork="true" clonevm="true" failonerror="true"
dir="${basedir}" timeout="600000" taskname="startAnt">
 <classpath refid="maven.test.classpath"/>

```

 

Stop doing this:

```
|<target name="fortress-load" if="load.file" description="Loads fortress policy into ldap">|

|<echo message="############### Run Fortress Ant script to load policy ###############"
/>|

|<java classname="org.apache.tools.ant.launch.Launcher" fork="true" clonevm="true" failonerror="true"
dir="${basedir}" timeout="600000" taskname="startAnt">|

|<classpath>|

| |

|<pathelement location="./config/bootstrap/" />|

|<pathelement location="./target/classes/" />|

|<pathelement location="${org.apache.ant:ant-launcher:jar}" />|

|<pathelement location="${org.apache.ant:ant:jar}" />|

|<pathelement location="${org.openldap:accelerator-api:jar}" />|

<pathelement location="${org.openldap:accelerator-impl:jar}" />

...

```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Mime
View raw message