View previous topic :: View next topic |
Author |
Message |
Thundah Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 08 Feb 2004 Posts: 477 Location: Switzerland
|
Posted: Mon Oct 17, 2005 5:42 pm Post subject: [OT] Problema con gli EOF |
|
|
Ciao a tutti, eccomi qua con un nuovo problema.
Devo realizzare il diagramma delle classi di un'applicazione che ho creato (in Java). Ho provato ad utilizzare poseidonCE e argoUML ma ho sempre gli stessi errori. Quando cerco di importare i file sorgenti ottengo degli errori del tipo "Expected EOF found ....". È come se pensasse che sia arrivata la fine del file all'interno del sorgente e non alla fine effettiva.
Non capisco perché.
Mauro |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rivent Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Guybrush2.gif)
Joined: 08 Oct 2005 Posts: 154
|
Posted: Mon Oct 17, 2005 5:51 pm Post subject: |
|
|
magari è una domanda stupida.. ma non è che stai leggendo dei file da linux scritti in windows o viceversa? perche i caratteri di fine linea e EOF sono diversi.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sparker l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/14879797624064996b6b89f.jpg)
Joined: 28 Aug 2003 Posts: 992
|
Posted: Mon Oct 17, 2005 5:56 pm Post subject: |
|
|
Forse stupido:
in fondo al file è presente una riga vuota? Se no, aggiungila |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Mon Oct 17, 2005 6:57 pm Post subject: Re: [OT] Problema con gli EOF |
|
|
Thundah wrote: | "Expected EOF found ....". È come se pensasse che sia arrivata la fine del file all'interno del sorgente e non alla fine effettiva. |
Solitamente una frase del genere salta fuori quando, secondo il programma, il file che gli viene dato in pasto non é completo... sei sicuro dell'integritá del file in questione? _________________ Ciao da me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Thundah Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 08 Feb 2004 Posts: 477 Location: Switzerland
|
Posted: Mon Oct 17, 2005 9:19 pm Post subject: |
|
|
Ho realizzato l'applicazione utilizzando netbeans. Compilazione ed esecuzione funzionano, quindi non capisco. ho provato ad aggiungere una linea vuota alla fine invano. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rivent Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Guybrush2.gif)
Joined: 08 Oct 2005 Posts: 154
|
Posted: Mon Oct 17, 2005 9:56 pm Post subject: |
|
|
perchè netBeans supporta entrambi i formati. Come fa TextPad. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Thundah Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 08 Feb 2004 Posts: 477 Location: Switzerland
|
Posted: Tue Oct 18, 2005 8:34 am Post subject: |
|
|
Dove viene impostato il modo (linux/winzoz)? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Tue Oct 18, 2005 6:33 pm Post subject: |
|
|
Scusa ma non poi usare dos2unix e/o unix2dos? _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Danilo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_morpheus.gif)
Joined: 05 Feb 2004 Posts: 747 Location: Italy
|
Posted: Tue Oct 18, 2005 7:53 pm Post subject: |
|
|
gutter wrote: | Scusa ma non poi usare dos2unix e/o unix2dos? |
Oppure apri il file con vim (assumo che ce l'hai)
e
Code: | :set fileformat=unix |
oppure Code: | :set fileformat=dos |
ovviamente salva mentre esci ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Oct 29, 2005 10:10 pm Post subject: |
|
|
Moved from Italian to Off Topic. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|