Class-path

Uvira Slavomir Slavomir.Uvira na siemens.com
Čtvrtek Říjen 7 10:46:34 CEST 2004


Dik,
tak to urobim cez tie odkazy,
Slaves

-----Original Message-----
From: konference-bounces na java.cz [mailto:konference-bounces na java.cz]On
Behalf Of Jan Hlad
Sent: Thursday, October 07, 2004 10:37 AM
To: Java
Subject: Re: Class-path


odkazy na adresare se pouzit samozrejme daji.

Honza

----- Original Message ----- 
From: "Michal Palička" <Michal.Palicka na cleverlance.com>
To: "Java" <konference na java.cz>
Sent: Thursday, October 07, 2004 10:34 AM
X-Scanned: By Symantec Anti-Virus Scan Engine
Subject: Re: Class-path



Dobry den,

myslim, ze v manifestu (atribut Class-Path) lze vyjmenovat pouze
soubory JAR, odkazy na jednotlive adresare se zde nedaji pouzit.

Pokud se chcete odkazovat na adresar, musite jej specifikovat
jako parametr pri spousteni aplikace:

java -classpath c:\resources -jar myapp.jar

Do manifestu bych dal odkazy na knihovny, ktere se nemeni
a jsou pevnou soucasti aplikace.
Pomoci parametru je vhodne specifikovat cesty, ktere
se mohou menit podle konfigurace pocitace.

mp.


-----Original Message-----
From: konference-bounces na java.cz [mailto:konference-bounces na java.cz] On
Behalf Of Uvira Slavomir
Sent: Thursday, October 07, 2004 10:24 AM
To: 'Java'
X-Scanned: By Symantec Anti-Virus Scan Engine
X-Scanned: By Symantec Anti-Virus Scan Engine
Subject: Re: Class-path

mame vlastny log interpretator a
zatial musia byt vsetky subory definovane v classpathe ako *.txt;
*.properties; *.xml.

? je ako potom spustit aplikaciu priamo z jar-ka ak nema files definovane v
class-pathe.



-----Original Message-----
From: konference-bounces na java.cz [mailto:konference-bounces na java.cz]On
Behalf Of Roman Hrivik
Sent: Thursday, October 07, 2004 10:18 AM
To: 'Java'
X-Scanned: By Symantec Anti-Virus Scan Engine
X-Scanned: By Symantec Anti-Virus Scan Engine
Subject: Re: Class-path



koli comu ?

casto sa ti menia ?
pouzivas na build ant ? -> tam si to mozes generovat pri kazdom builde

Roman





-----Original Message-----
From: Uvira Slavomir [mailto:Slavomir.Uvira na siemens.com]
Sent: Thursday, October 07, 2004 10:15 AM
To: 'Java'
X-Scanned: By Symantec Anti-Virus Scan Engine
X-Scanned: By Symantec Anti-Virus Scan Engine
Subject: Re: Class-path


Zdravim,
neviem mi niekto poradit ako zadefinovat v manifeste
adresar???

relativna cesta ako ../test.jar funguje,
ale ../lib/*.jar nefunguje.

vdaka za tip.
Slaves





Další informace o konferenci Konference