View previous topic :: View next topic |
Author |
Message |
Thundah Guru

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 |
|
 |
rivent Apprentice


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 |
|
 |
Sparker l33t


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 |
|
 |
randomaze Bodhisattva


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 |
|
 |
Thundah Guru

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 |
|
 |
rivent Apprentice


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 |
|
 |
Thundah Guru

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 |
|
 |
gutter Bodhisattva


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 |
|
 |
Danilo l33t


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  |
|
Back to top |
|
 |
gutter Bodhisattva


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 |
|
 |
|