Open GoogleCodeExporter opened 9 years ago
Uyarın için teşekkürler Serkan.
Original comment by tankut.t...@gmail.com
on 18 Dec 2006 at 8:17
Biriki ufak düzeltmeden sonra bende Windows üzerinde Mono-1.2.2 ile compile
etti,
testler ok.
Serkan vaktin olduğunda bir verify edebilir misin, linuxta herhangi bir sorun
oluyor
mu...
Original comment by tankut.t...@gmail.com
on 18 Dec 2006 at 8:47
Bu sefer derlemeyi geçti dll ler test dizininde oluştu ama dagitim da
oluşmadı. Çıktı
şu şekilde
firari@localhost ~/Desktop/nzemberek $ nant -t:mono-2.0
NAnt 0.85 (Build 0.85.2478.0; release; 14.10.2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///home/firari/Desktop/nzemberek/Nzemberek.build
Target framework: Mono 2.0 Profile
Target(s) specified: copyfiles
clean:
[delete] Deleting 33 files.
[delete] Deleted 5 directories.
prepForTests:
[mkdir] Creating directory
'/home/firari/Desktop/nzemberek/tests\bin/kaynaklar/tr/bilgi'.
[mkdir] Creating directory
'/home/firari/Desktop/nzemberek/tests\bin/kaynaklar/tr/test'.
[copy] Copying 10 files to
'/home/firari/Desktop/nzemberek/tests\bin/kaynaklar/tr/bilgi'.
[copy] Copying 17 files to
'/home/firari/Desktop/nzemberek/tests\bin/kaynaklar/tr/test'.
[copy] Copying 1 file to
'/home/firari/Desktop/nzemberek/tests\bin/Nzemberek.dll.config'.
[copy] Copying 1 file to '/home/firari/Desktop/nzemberek/tests\bin/app.config'.
nunitbuild:
[copy] Copying 4 files to '/home/firari/Desktop/nzemberek/tests\bin'.
[csc] Compiling 127 files to
'/home/firari/Desktop/nzemberek/tests\bin/NZemberek.dll'.
[csc] /home/firari/Desktop/nzemberek/araclar.turkce/YaziIsleyici.cs(99,19):
warning CS0219: The variable `kelimeList' is assigned but its value is never
used
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(65,62): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete:
`This
property is obsolete. Please use
System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(74,58): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete:
`This
property is obsolete. Please use
System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(76,75): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete:
`This
property is obsolete. Please use
System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(78,79): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete:
`This
property is obsolete. Please use
System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(80,79): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete:
`This
property is obsolete. Please use
System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(82,76): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete:
`This
property is obsolete. Please use
System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi/ZemberekAyarlari.cs(98,53): warning
CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is obsolete:
`This
property is obsolete. Please use
System.Configuration.ConfigurationManager.AppSettings'
[csc] /home/firari/Desktop/nzemberek/bilgi.araclar/IkiliKokOkuyucu.cs(46,41):
warning CS0168: The variable `e' is declared but never used
[csc] /home/firari/Desktop/nzemberek/bilgi.kokler/KokAgaciYuruyucu.cs(118,18):
warning CS0219: The variable `c' is assigned but its value is never used
[csc] /home/firari/Desktop/nzemberek/islemler/HataliKodTemizleyici.cs(51,13):
warning CS0278: `System.Collections.Generic.ICollection<char>' contains
ambiguous
implementation of `enumerable' pattern. Method
`System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method
`System.Collections.Generic.IEnumerable<char>.GetEnumerator()'
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc] /home/firari/Desktop/nzemberek/islemler/HataliKodTemizleyici.cs(71,18):
warning CS0219: The variable `end' is assigned but its value is never used
[csc]
/home/firari/Desktop/nzemberek/islemler/HataliKodlamaTemizleyici.cs(51,13):
warning
CS0278: `System.Collections.Generic.ICollection<char>' contains ambiguous
implementation of `enumerable' pattern. Method
`System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method
`System.Collections.Generic.IEnumerable<char>.GetEnumerator()'
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc]
/home/firari/Desktop/nzemberek/tests/kullanim/RastgeleKelimeUretici.cs(32,13):
warning CS0278: `System.Collections.Generic.ICollection<net.zemberek.yapi.Kok>'
contains ambiguous implementation of `enumerable' pattern. Method
`System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method
`System.Collections.Generic.IEnumerable<net.zemberek.yapi.Kok>.GetEnumerator()'
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc] /home/firari/Desktop/nzemberek/tests/yapi/TestHarfDizisi.cs(188,24):
warning CS0219: The variable `ydizi' is assigned but its value is never used
[csc] /home/firari/Desktop/nzemberek/tests/yapi.ek/TestEkUreticiTr.cs(22,23):
warning CS0219: The variable `uretici' is assigned but its value is never used
[csc] /home/firari/Desktop/nzemberek/yapi.ek/TemelEkYonetici.cs(34,13): warning
CS0278: `System.Collections.Generic.ICollection<net.zemberek.yapi.KelimeTipi>'
contains ambiguous implementation of `enumerable' pattern. Method
`System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method
`System.Collections.Generic.IEnumerable<net.zemberek.yapi.KelimeTipi>.GetEnumera
tor()'
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc] /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
previous warning)
[csc]
/home/firari/Desktop/nzemberek/araclar.turkce/TurkishTokenStream.cs(23,24):
warning
CS0414: The private field
`net.zemberek.araclar.turkce.TurkishTokenStream.cumleBuffer' is assigned but its
value is never used
[csc] /home/firari/Desktop/nzemberek/araclar.turkce/YaziIsleyici.cs(25,40):
warning CS0414: The private field
`net.zemberek.araclar.turkce.YaziIsleyici.kelimeAyrac' is assigned but its
value is
never used
[csc] /home/firari/Desktop/nzemberek/araclar.turkce/YaziIsleyici.cs(26,40):
warning CS0414: The private field
`net.zemberek.araclar.turkce.YaziIsleyici.cumleAyrac' is assigned but its value
is
never used
[csc] /home/firari/Desktop/nzemberek/bilgi/KaynakYukleyici.cs(59,30): warning
CS0169: The private method
`net.zemberek.bilgi.KaynakYukleyici.utf8BomDenetle(System.IO.StreamReader)' is
never used
[csc] /home/firari/Desktop/nzemberek/bilgi/KaynakYukleyici.cs(50,31): warning
CS0414: The private field `net.zemberek.bilgi.KaynakYukleyici.bomBytes' is
assigned
but its value is never used
[csc] /home/firari/Desktop/nzemberek/bilgi.kokler/KokAgaciYuruyucu.cs(18,13):
warning CS0414: The private field
`net.zemberek.bilgi.kokler.KokAgaciYuruyucu.distanceCalculationCount' is
assigned but
its value is never used
[csc] /home/firari/Desktop/nzemberek/islemler/HataliKodTemizleyici.cs(14,38):
warning CS0414: The private field
`net.zemberek.islemler.HataliKodTemizleyici.logger'
is assigned but its value is never used
[csc]
/home/firari/Desktop/nzemberek/islemler/HataliKodlamaTemizleyici.cs(14,38):
warning
CS0414: The private field
`net.zemberek.islemler.HataliKodlamaTemizleyici.logger' is
assigned but its value is never used
[csc]
/home/firari/Desktop/nzemberek/tr/islemler/TurkceCozumlemeYardimcisi.cs(21,27):
warning CS0414: The private field
`net.zemberek.tr.islemler.TurkceCozumlemeYardimcisi.cep' is assigned but its
value is
never used
[csc] /home/firari/Desktop/nzemberek/yapi.ek/TemelEkOzelDurumUretici.cs(10,38):
warning CS0414: The private field
`net.zemberek.yapi.ek.TemelEkOzelDurumUretici.logger' is assigned but its value
is
never used
[csc] /home/firari/Desktop/nzemberek/yapi/CokluKok.cs(11,16): warning CS0169:
The private field `net.zemberek.yapi.CokluKok.kelimeler' is never used
[csc] /home/firari/Desktop/nzemberek/yapi/TurkceDilBilgisi.cs(42,24): warning
CS0414: The private field
`net.zemberek.yapi.TurkceDilBilgisi.kokIstatistikDosyaAdi'
is assigned but its value is never used
[csc] Compilation succeeded - 29 warning(s)
runtests:
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IIn
ternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IIn
ternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IIn
ternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IIn
ternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IIn
ternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2] log4net:ERROR DefaultRepositorySelector: Exception while reading
ConfigurationSettings. Check your .config file is well formed XML.
[nunit2] System.ArgumentException: exePath must be specified when not running
inside a stand alone exe.
[nunit2] at
System.Configuration.ConfigurationManager.OpenExeConfigurationInternal
(ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
System.String exePath) [0x00000]
[nunit2] at
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IIn
ternalConfigSystem.GetSection
(System.String configKey) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.GetSection (System.String
sectionName) [0x00000]
[nunit2] at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
[nunit2] at log4net.Util.SystemInfo.GetAppSetting (System.String key) [0x00000]
[nunit2]
BUILD FAILED - 0 non-fatal error(s), 37 warning(s)
/home/firari/Desktop/nzemberek/Nzemberek.build(50,6):
Tests Failed.
Total time: 9.8 seconds.
birde
tests\bin
nzemberek/tests\reports
gibi 2 dizin oluştu sanırım bu windows a göre ayarlı olmasından
kaynaklanıyor (testi
geçememesinin yada dagitim a kopyalanamamasının sebebide olabilirmi
bilmiyorum.
Sanırım çok az düzeltme ile tam uyumlu hale gelebilir
Original comment by serkank...@gmail.com
on 18 Dec 2006 at 9:36
Linux'da build olmuyor hala
Original comment by spino...@gmail.com
on 19 Dec 2006 at 7:47
build oluyor aslında (test dizini altında dll dosyaları oluştu) sadece
gerekli
dizinlere atmıyor gibi geldi bana
Original comment by serkank...@gmail.com
on 19 Dec 2006 at 7:56
düzeltiyorum > linux üzerinde nant build'i başarıyla tamamlanamıyor...
Original comment by spino...@gmail.com
on 19 Dec 2006 at 8:00
NZemberek.build dosyasında değişiklik yapıldı ve iki farklı log4net
kütüphanesi eklendi.
Build dosyasında aşağıdaki property değiştirilerek mono-2.0 için build
edilebilir
durumda.
<!-- net-2.0 veya mono-2.0 kullanilabilir -->
<property name="nant.settings.currentframework" value="net-2.0"/>
Henüz linux üzerinde mono test edemediğimizden birileri test ederse çok
memnun
olacağız. (Yakında bunu halletmiş oluruz ve testleri gerçekleştirebiliriz)
Original comment by spino...@gmail.com
on 19 Dec 2006 at 8:42
hala testi geçemiyor (yine dizin hatası tahminimce config dosyası okunamıyo)
Original comment by serkank...@gmail.com
on 20 Dec 2006 at 5:43
Attachments:
Bugun nant scriptindeki nunit2 taskını failonerror="false" yaptım ve build
başarıyla
tamamlandı. tabi hala nunit2 taski fail ediyor. Acaba sonuçta build edilen
dll linux
altında çalışacak mı diye biraz kurcaladım. Çalışabilmesi için kodda
ufak
değişikliklere ihtiyaç vardı. linux üzerinde o değişiklikleri yaptım ve
çalıştı. :o)
Evet, Suse üzerinde mono platformunda oluşan dll ile ilk denetlemeyi yaptık.
Tabi
tümünü deneme şansım olmadı ama sorunun ufak bir bölgeye sıkışması
açısından iyi oldu.
Ama tabi unit testlerin çalışmıyor olması kötü. Üzerinde
çalışıyorum.
Original comment by spino...@gmail.com
on 24 Dec 2006 at 3:30
Original issue reported on code.google.com by
serkank...@gmail.com
on 18 Dec 2006 at 7:21