Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Java for Web Applications
This is the forum to discuss the Wrox book Professional Java for Web Applications by Nicholas S. Williams; ISBN: 978-1-118-65646-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Java for Web Applications section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old June 21st, 2016, 10:12 AM
Authorized User
Points: 209, Level: 4
Points: 209, Level: 4 Points: 209, Level: 4 Points: 209, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2012
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by muthukutta1 View Post
Hi
How to put a class into a directory structure that matches the package hierarchy.using archetype generation method
Thanks
As
muthukutta1
Hi

please visualise the following to render solutuon on this:->

In usual java ,creating a jar file used to be rather vague
as for example you must always put a class into a directory
structure that matches the package hierarchy,meaning setting
up a matching directory for both the source and the classes trees.
my requesthere iss to find out if the similar method is required to
achieve for the maven's usage via archetype generating to produce a pom.xml
and eventuallyr make it possible to render jar file for any type of
java application.If its a possibilty then do'nt you think it becomes
very easy avoiding the diificulties of repeated downloads especially
to nullify the non synchronising versions etc



archetype:generate -D groupId=com.crm.core.util.ArrayList -D artifactId= BMICalculator -D archetypeArtifactId=maven-archetype-quickstart -D interactivemode=false

(This a an application program in java BMICalculator.java)
As you see in this

which does not have a matching package to make maven not only compile but also put all the
classes ( of the so compiled classes in to a classes directory) besides the usual source directory as matching -package structure to bring good result at one stretch of course with a pom.xml dumped even though!!!
Thanks
As
muthukutta1
Reply With Quote
  #12 (permalink)  
Old July 4th, 2016, 09:01 AM
Authorized User
Points: 209, Level: 4
Points: 209, Level: 4 Points: 209, Level: 4 Points: 209, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2012
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default maven use

Quote:
Originally Posted by photoelectric View Post
From your error message it looks like you are having trouble reaching the Maven Central Repo. Are you behind a proxy? If you are, then you need to add the proxy info to the settings.xml file in your maven installation's conf directory.
Hi
Subsequent to your suggestion,many threads were written by me.Please review
if you get time
Thanks
As
muthukutta1
Reply With Quote
  #13 (permalink)  
Old July 5th, 2016, 09:12 PM
Registered User
Points: 15, Level: 1
Points: 15, Level: 1 Points: 15, Level: 1 Points: 15, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2014
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by muthukutta1 View Post
Hi
Subsequent to your suggestion,many threads were written by me.Please review
if you get time
Thanks
As
muthukutta1

I don't think that I know enough about maven to answer your questions. You might want to try asking on the stackoverflow website, I know they have some answers to the question you asked earlier about creating an executable jar.


http://stackoverflow.com/questions/5...es-using-maven
Reply With Quote
  #14 (permalink)  
Old November 25th, 2016, 05:24 AM
Authorized User
Points: 209, Level: 4
Points: 209, Level: 4 Points: 209, Level: 4 Points: 209, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2012
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default Executable jar file

Quote:
Originally Posted by photoelectric View Post
I don't think that I know enough about maven to answer your questions. You might want to try asking on the stackoverflow website, I know they have some answers to the question you asked earlier about creating an executable jar.


http://stackoverflow.com/questions/5...es-using-maven
Hi

Thanks for your reply.Now I have created a jar file but I would like to show you for your feedback
How to place the jar file so created in a common protocool so that any person can view the same
Please suggest .
and i shall try to send
Thanks
As
muthukutta1
Reply With Quote
  #15 (permalink)  
Old March 1st, 2017, 05:47 AM
Authorized User
Points: 209, Level: 4
Points: 209, Level: 4 Points: 209, Level: 4 Points: 209, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2012
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default My recently builtExecuatable file

Quote:
Originally Posted by photoelectric View Post
I don't think that I know enough about maven to answer your questions. You might want to try asking on the stackoverflow website, I know they have some answers to the question you asked earlier about creating an executable jar.


http://stackoverflow.com/questions/5...es-using-maven
Hi
I just was able to create a jar.Also the same i placed it at the folloewing link
please download the same & forward your feedback

thanks
As
muthukutta1

1)https://1.sharebylink.com/1/?CNrQUTfT4CuG

( jupiter_CNrQUTfT4CuG.jar at https://1.sharebylink.co/1/?CNrQUTfT4CuG)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Compilation FATAL ERROR maven 2.0.9 krausch BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 1 December 4th, 2016 08:34 AM
Maven Help Needed... cvsanghavi@gmail.com Spring 0 January 10th, 2011 06:25 AM



All times are GMT -4. The time now is 09:17 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.