Mmh,
not sure that is working since right now we have

/**
 * TODO
 */
public interface JettyConfiguration
    extends EntityComposite
{
    @Range( min = 0, max = 65535 ) Property<Integer> port();

    @NotEmpty Property<String> rootContextPath();

    @NotEmpty Property<String> resourcePath();
}

which suggests that the ConfigurationMixin and its property loading is
not present?

/peter

GTalk: neubauer.peter
Skype peter.neubauer
ICQ 18762544
Phone +46704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.




On Thu, Aug 14, 2008 at 10:09 AM, Rickard Öberg <[EMAIL PROTECTED]> wrote:
> Peter Neubauer wrote:
>> Mmh,
>> trying that, I am not sure how to use the provided
>> JettyConfiguration.java to configure the port. It is added as
>> JettyConfiguration.class in the JettyAssembler, but how do I get hold
>> of it to provide values or load them from a .properties file_
>
> The default settings for a service comes from a file with the same id as
> the service, so JettyService.properties in this case. There is no
> default one in /main right now, only in /test/, where you can set the
> port nr for tests. We should probably add the properties file to /main
> instead...
>
> /Rickard
>
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>
>

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to