|
Re: How to define a folder to send the built project ? [message #659858 is a reply to message #659840] |
Tue, 15 March 2011 19:18 |
|
On 15-Mar-11 12:44, Prix wrote:
> Hi,
>
> I am new in the community and to eclipse and I am having some difficult
> with building my project.
>
> On the eclipse I am able to run my project just fine and it works.
>
> I have made all the process described at the url
> http://www.eclipse-blog.org/eclipse-ide/building-a-java-proj ect-in-eclipse.html
> and I have no problems to build the project.
>
> My problem here is where the files are built to or rather how could I
> define a default folder to delivery all the files needed to run my
> application from my other computer or server ?
>
> Best regards.
Of course, application deployment is dependent upon what type of
application, simple Java, web application, etc. If you're only deploying
a JAR, you can write an ant script to build and place the JAR on any
path you want.
Obviously, my answer is vague. Your question doesn't say enough about
what you specifically want to do or what constraints make what Eclipse
is doing by default inadequate.
Tell us more?
|
|
|
|
Re: How to define a folder to send the built project ? [message #659891 is a reply to message #659880] |
Tue, 15 March 2011 22:08 |
|
On 15-Mar-11 15:14, Prix wrote:
> it is a java application more specific a server that should run on both
> linux and windows.
>
> Yes i wanted to know where eclipse put the jar files when it is built as
> i cannot find any within the project folder.
>
> Yes i know i can do that with ant but i would like to do it all with
> eclipse if that is possible.
What Eclipse is running successfully for you is down under .metadata in
the workspace folder. I'm mostly involved with web applications and I
know best how that deployment works; I haven't paid attention to the
simpler deployment you're using. (So, I can't answer.)
My knee-jerk reaction is to use ant. I have also right-clicked on the
project name and chosen to export the application as a (usually
runnable) JAR. Maybe that's the way to do it.
I admit that I'm probably not the best person to answer you further
here. Someone brighter will answer soon, I think.
|
|
|
Powered by
FUDForum. Page generated in 0.07146 seconds