To prevent the executable from being added to the ...

moodusroundoΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 4 χρόνια και 10 μήνες)

243 εμφανίσεις

To prevent the executable from being added to the repository I have changed the way I compile the
code.

Just a short description of what I did to get the code to compile in Netbeans.

My folder structure

after doing this
:

Desktop

-
>

NiSee

-
>
Repository
(This is the folder that I checked out from the repository)




-
> Documentation




-
> Source




-
> TestSource

-
>

TestGenerator (This is created by netbeans by using the Java Project from Existing Sources)



-
> build



-
> dist



-
> nbproject



-
> build



-
>

build
-
before
-
profiler



-
> manifest.mf


1.

First find a spot to put all the code


and get an updated copy of the new repository at
https://uow2010
-
lm02.googlecode.com/svn/trunk


To checkout a cop
y of the repository I used Tortoise. Just create a folder
(“NiSee
\
Repository”) and right click on the folder, and click SVN Checkout.


If you are asked for a password you can get it from
https://code.google.com/p/uow2010
-
lm02/source/checkout
, click on the link in “
When prompted, enter your generated googlecode.com
password.





2.



Source Package: I added the Source folder from the repository here.

Test Package: I added the
TestSource folder from the repository here.


Includes: I just included all by going **/*

I have not been able to run the code from netbeans (only compiling)
.

To run the stuff I use Command Prompt, depending from where you are when running


the output
obj
ects will be written to different places.

So I run from NiSee
\
Repository
\
Source with “java

jar ..
\
..
\
TestGenerator
\
dist
\
TestGenerator.jar”


It should produce an image called temp.jpg in Repository
\
Source from an image called object.jpg in
the same loca
tion. I am trying to get it to display on the label of the window with the icon property,
which worked previously, but it is not working.