Hi Giovanni,

I have to admit I'm confused because I remember this issue being reported 
and fixed, and yet, you're right, the URI -> String change we made is 
causing compile errors. I also noticed that we forgot to include the file 
that will tell Muse what EPR to assign to the resource instance that is 
created; this isn't too hard to do (see the "How to" in the reference 
manual part of the documentation), but it should work out of the box for 
the samples. I will commit the fixes to this and you can pick up the 
nightly build to get the updated sample files (under 
/samples/apache-httpd).

Dan


Giovanni Fleres <[EMAIL PROTECTED]> wrote on 10/03/2006 06:19:46 AM:

> Hi,
> I'm a newbie about Muse.
> 
> I'm trying to use apache-httpd's sample.
> After I've extracted the zip file and that I've installed and 
> configurated ant,
> I went in the apache-httpd's directory where there build.xml and I've
> executed ant.
> At this point I've received these compiling errors:
> 
> -------- begin error log -------------------------
> 
> C:\muse-2.0.0\samples\apache-httpd>ant
> Buildfile: build.xml
> 
> init:
> 
> clean:
> 
> layout:
>      [copy] Copying 67 files to C:\muse-2.0.0\samples\apache-httpd\build
>      [copy] Copying 9 files to 
> C:\muse-2.0.0\samples\apache-httpd\build\WEB-INF\
> services\muse
>      [copy] Copying 1 file to 
> C:\muse-2.0.0\samples\apache-httpd\build\WEB-INF\s
> ervices\muse\META-INF
>      [copy] Copying 1 file to 
> C:\muse-2.0.0\samples\apache-httpd\build\WEB-INF\s
> ervices\muse
>      [copy] Copying 20 files to 
> C:\muse-2.0.0\samples\apache-httpd\build\WEB-INF
> \lib
> 
> java:
>     [mkdir] Created dir: C:\muse-2.0.0\samples\apache-httpd\build\bin
>     [javac] Compiling 8 source files to 
> C:\muse-2.0.0\samples\apache-httpd\build
> \bin
>     [javac] 
> C:\muse-2.0.0\samples\apache-httpd\src\org\apache\muse\test\http\rem
> ote\HttpServerClient.java:168: setAction(java.lang.String) in 
> org.apache.muse.co
> re.proxy.ProxyHandler cannot be applied to (java.net.URI)
>     [javac]             handler.setAction(_ACTIONS[n]);
>     [javac]                    ^
>     [javac] 
> C:\muse-2.0.0\samples\apache-httpd\src\org\apache\muse\test\http\tes
> tapp\HttpServerTestApp.java:38: incompatible types
>     [javac] found   : java.lang.String
>     [javac] required: java.net.URI
>     [javac]         URI value = factory.getNextIdentifier();
>     [javac]                                              ^
>     [javac] Note: 
> C:\muse-2.0.0\samples\apache-httpd\src\org\apache\muse\test\ht
> tp\remote\HttpServerClient.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 2 errors
> 
> BUILD FAILED
> C:\muse-2.0.0\samples\apache-httpd\build.xml:69: Compile failed; see the 

> compile
> r error output for details.
> 
> Total time: 12 seconds
> C:\muse-2.0.0\samples\apache-httpd>
> 
> ------- error log ------------------------------
> 
> Could anybody help me ?
> 
> Thanks in advance
> 
> Giovanni
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to