Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to define a folder to send the built project ?
How to define a folder to send the built project ? [message #659840] Tue, 15 March 2011 18:44 Go to next message
Prix  is currently offline Prix Friend
Messages: 2
Registered: March 2011
Junior Member
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.
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 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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 #659880 is a reply to message #659840] Tue, 15 March 2011 21:14 Go to previous messageGo to next message
Prix  is currently offline Prix Friend
Messages: 2
Registered: March 2011
Junior Member
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.
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 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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.
Previous Topic:"Could not reset markers snapshot file" error
Next Topic:please check my ini - conflicts?
Goto Forum:
  


Current Time: Fri Mar 29 10:51:20 GMT 2024

Powered by FUDForum. Page generated in 0.07146 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top