On Jul 16, 1:38 pm, Dragan <[email protected]> wrote:
> I've just started working with NetBeans and I've noticed one problem I
> would like to solve.
>
> Every time I run project in NetBeans, all files in project are
> automatically saved.
> Is there any possibility that they don't get saved and that Ant runs
> on that version (that is not saved yet)?
> I tried with unchecking the option "Save all modified files before
> running Ant" in Options->Miscellaneous->Ant, but then Ant runs on a
> last saved project and I get the old output.
> I would like just to test some modifications in program and see how it
> runs, but I don't want to save it.
I don't think you can do it this way as ant works with the files, not
with something in memory.
But you have a couple ways to do it in Netbeans.
1 - First way
Same your files, run your project, then use Ctrl-Z (or Cmd_Z) on the
files you saved to return one step/by one step to the previous state.
2 - Second way (much more powerful)
Use the local history under Team in Netbeans 6.7 (I don't remember the
exact menu name on Netbeans 6.5) but just search, it is easy to find
(probably somewhere in the neighborough of Tools menu).
This way, you can mix version of a file, with another version of a
file, or just return to the state of all files at a certain date/time.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---