logo       

Re: enhydra with eclipse problem: msg#00020

java.enhydra.general

Subject: Re: enhydra with eclipse problem

Thanks very much! I have got it by following your instructions.

Tobias Schmidt 写道:

>Hi linuxman,
>
>we are using eclipse to develop enhydra applications. We use ant to
>build xmlc and dods.
>We use the following configuration:
>Window -> Preferences -> External Tools -> Ant -> Classpath
> Use Ant version 1.5 delivered with Enhydra
> c:\enhydra5.0\build\ant.jar
> c:\enhydra5.0\build\optional.jar
> To compile correctly you need tools.jar from your jdk
> c:\j2sdk\lib\tools.jar
>
>All other classes are set in the build.xml
>
> <path id="class.path">
> <fileset dir="${enhydra_build}">
> <include name="*.jar"/>
> </fileset>
> <fileset dir="${enhydra_lib}">
> <include name="*.jar"/>
> </fileset>
> <fileset dir="${enhydra_lib_build}">
> <include name="*.jar"/>
> </fileset>
> <fileset dir="${java_lib}">
> <include name="**/*.jar"/>
> </fileset>
> </path>
>
> <taskdef name="xmlc" classname="com.lutris.ant.taskdefs.Xmlc">
> <classpath refid="class.path" />
> </taskdef>
>
> <taskdef name="dods" classname="com.lutris.ant.taskdefs.Dods">
> <classpath refid="class.path" />
> </taskdef>
>
>To run the application you need to include all Enhydra libs and create a
>new entry in
>Run -> Run... -> New Java Application -> Main
> - Project: select your project
> - Main Class: com.lutris.multiServer.MultiServer
> -> (x)-Arguments
> - insert the path to your servlet.conf
> "c:\project\conf\servlet\servlet.conf"
>
>I hope this helps.
>
>Tobias
>
>
>
>
>>-----Urspr?ngliche Nachricht-----
>>Von: enhydra-admin@xxxxxxxxxxx
>>[mailto:enhydra-admin@xxxxxxxxxxx] Im Auftrag von linuxman
>>Gesendet: Sonntag, 17. November 2002 07:59
>>An: Enhydra ML
>>Betreff: Enhydra: enhydra with eclipse problem
>>
>>
>>hi,
>>
>>Is there anyone to develope enhydra application with
>>eclipse(M2 or M3)? I have some problems, the biggegst one is
>>I can not run ant correctly inside the eclipse.
>>
>>I have substitude the default eclipse ant to enhydra one, and
>>add almost all jar package to the ant classpath in
>>eclipse(all from enhydra), but when I run ant, always give me
>>the error message that com.lutris.appserver.......can not
>>resolved, but I DID have included enhydra.jar.
>>
>>Any hints?
>>
>>
>>Thanks in advance!
>>
>>linuxman
>>
>>
>>
>>_______________________________________________
>>Enhydra mailing list
>>Enhydra@xxxxxxxxxxx
>>http://www.enhydra.org/mailman/listinfo.cgi/enhydra
>>
>>
>>
>
>
>_______________________________________________
>Enhydra mailing list
>Enhydra@xxxxxxxxxxx
>http://www.enhydra.org/mailman/listinfo.cgi/enhydra
>
>
>
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise