Filip Defoort wrote:

Hi Stephen,

Maven -v says "v1.0-rc1-SNAPSHOT"

It does seem to dump some exceptions in maven.log:
java.lang.NumberFormatException: For input string "includes"
(looks like it has issues parsing the <resource> stuff)


maven.log is something you can ignore
I tried running under Maven RC1and the BLOCK-INF content is being created.
Hee is the log message:

java:jar-resources:
[copy] Copying 1 file to F:\TEMP\merlin-3.2-tutorial-20031019\tutorial\hello\target\classes\BLOCK-INF


However - I noticed that there is a problem with respect to dynamic jar file downloading (had to copy the activation, composition, etc. repository content to maven). I'll be looking into that issue. Concerning the non-creation of BLOCK-INF/block.xml ... you could try looking at the debug output of maven using the maven -X option. This will/should provide complete details of what is happending.

Steve.




Thanks,
- Filip

Stephen McConnell wrote:




Filip Defoort wrote:


Hi,

I'm trying to run the merlin 3.2 tutorials, and following the instructions in
the readme, do a "maven" and a "merlin target/classes -execute", but it turns
out that the block.xml is not being copied into a BLOCK-INF/ directory,
neither directly under target/classes nor into the jar.
Easy to workaround and put it there manually, but I'm wondering what's
going on.. Pretty much all the tutorials seem to exhibit this behaviour...


Anybody any ideas?




It's working here ...

$ cd tutorial\hello
$ maven
$ merlin target\classes -execute

The actual instructions for the copying of the block.xml are in the tutorial/project.xml file.

     <resource>
       <directory>${basedir}/conf</directory>
       <targetPath>BLOCK-INF</targetPath>
       <includes>
         <include>block.xml</include>
       </includes>
     </resource>

So everything should be working just fine.

Which version of maven are you running?
(I'm using maven 10)

Steve.



- Filip


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






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



--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]




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



Reply via email to