Georgiana, of course that's the first thing that comes to mind. I was curious about how to make corrupted project work. Thanks a lot, miga! I made it work!
On May 3, 9:18 am, Georgiana Lungu <[email protected]> wrote: > What i did was to create a new project and just paste the source file > in the workspace, then build the project. > > On May 2, 10:01 pm, miga <[email protected]> wrote: > > > On May 2, 8:27 pm, Anton Shaykin <[email protected]> wrote:> It > > didn't work. What I did was > > > 1)replaced the damaged project.properties file with working one > > > 2) opened in notepad and replaced all the entries containing the name > > > of the project (I found 2 of them) with proper name > > > 3) reopened project in NetBeans > > > 4) No result :( > > > Don't know what's the problem... > > > Actually, I may not have been accurate enough. > > > Taken the SerializeAndDeserializCurrentTimeVersionControl project, > > here are the changes I made in project.projerties after copying a > > working one: > > > application.title=SerializeAndDeserializeCurrentTimeVersionControl > > > dist.jar=${dist.dir}/ > > SerializeAndDeserializeCurrentTimeVersionControl.jar > > > main.class=serializeandaeserializecurrenttimeversioncontrol.SerializeTime > > > (note in main.class the first part is the name of the project all > > lowecase, then the main class in the second part - you can see what is > > it searching for main in the source files). > > > Other than that, I'm sorry I don't know what to tell to you to do, it > > simply works for me. > > What you can do is creating a new project in another directory, > > creating the necessary packages and source files with same name as the > > one which does not work, then copy the contents of the files from the > > project which does not work to the new project. > > After doing that, you may use a tool equivalent to meld to observe the > > differences in project.properties file between the project which does > > not work and the new project. It will tell you exactly what to do for > > the other projects which do not show up correctly avoiding to create a > > new project and copy and paste the contents. > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
