Annotation based VSO generation - How to do it ?

I am trying to get annoatation based generation of my vso.xml to work. But it is not working 😞

What i did so far

- Added required libraries to build.classpath in maven-build.xml (the maven-build.xml of the plugin itsel, not model, core, etc.)

- Added ant task

<target name="generate-vso">

    <java fork="true" failonerror="yes"



    <jvmarg line="-Dlog4j.configuration=file:C:\temp\"/>   

    <arg line="-name ${}" />

    <arg line="-vsoDirectory ${}/VSO-INF" />

    <arg line="-scanPackage target/classes/de/witcom" />   


    <arg line="-moduleBuilder de.witcom.firstPlugin" />




- Annotated my classes

Whe starting the task nothing happens. A new vso.xml is created, with the contents of the existing one. Thats it. I enabled logging so i can see, that no classes are found

   [java] 11.07.2014 15:49:28 findCandidateComponents

     [java] INFO: Scanning for resources using pattern classpath*:target/classes/de/witcom/**/*.class

     [java] 11.07.2014 15:49:28 findCandidateComponents

     [java] INFO: Founded [0] matching resources

     [java] 11.07.2014 15:49:28 doScan

     [java] INFO: Candidates found:0

I believe i am giving the wrong Path for scanning....

Any help available ?

We are using vCo 5.1 and SDK for that Version..



0 Kudos
0 Replies