Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348260 - Add a shared library template to new project wizard
Summary: Add a shared library template to new project wizard
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Autotools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Jeff Johnston CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 15:02 EDT by Sami Wagiaalla CLA
Modified: 2011-06-16 17:35 EDT (History)
0 users

See Also:


Attachments
Add Autotools shared library template (17.33 KB, patch)
2011-06-03 16:15 EDT, Sami Wagiaalla CLA
no flags Details | Diff
Add Autotools shared library template (17.32 KB, patch)
2011-06-06 10:42 EDT, Sami Wagiaalla CLA
no flags Details | Diff
Add Autotools shared library template (17.75 KB, patch)
2011-06-07 13:52 EDT, Sami Wagiaalla CLA
no flags Details | Diff
Add Autotools shared library template (17.90 KB, patch)
2011-06-09 16:10 EDT, Sami Wagiaalla CLA
jjohnstn: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Wagiaalla CLA 2011-06-03 15:02:22 EDT
The new project wizard is missing a template for an Autotools shared library project.

I am attaching a patch which adds said template.
Comment 1 Sami Wagiaalla CLA 2011-06-03 16:15:59 EDT
Created attachment 197335 [details]
Add Autotools shared library template
Comment 2 Andrew Overholt CLA 2011-06-03 16:36:58 EDT
Should autotools/org.eclipse.linuxtools.cdt.autotools.ui/templates/projecttemplates/AutotoolsSharedLibraryProject/template.properties really be Copyright IBM?

I won't speak to the rest of the template but I like the contribution.  Thanks!
Comment 3 Sami Wagiaalla CLA 2011-06-06 10:42:30 EDT
Created attachment 197398 [details]
Add Autotools shared library template

Corrected copyright notice for AutotoolsSharedLibraryProject/template.properties, and did the same for AutotoolsSharedLibraryProject/template.xml and other minor fixes.

Thanks for the review
Comment 4 Jeff Johnston CLA 2011-06-06 16:13:18 EDT
Comment on attachment 197398 [details]
Add Autotools shared library template

ChangeLog file is missing so template does not work.

To execute sample program, I had to add LD_LIBRARY_PATH to point to the secret .libs directory.  It would be nice if this could be set up automatically for the project or at worst case, documented in the sample program source.
Comment 5 Sami Wagiaalla CLA 2011-06-07 13:52:32 EDT
Created attachment 197527 [details]
Add Autotools shared library template

- Add comment explaining how to run the uninstalled executable
- Add missing Changelog file to the template
Comment 6 Jeff Johnston CLA 2011-06-08 17:15:43 EDT
Comment on attachment 197527 [details]
Add Autotools shared library template

I take it there was no way to handle the output script name or have it runnable directly from Eclipse.

Minor comments:

You have "smaple" specified.

Not sure about what you meant to say with:
"User the name of the executable
+# with each non alpha-numeric character is eplaced by '_'"
Comment 7 Sami Wagiaalla CLA 2011-06-09 16:10:45 EDT
Created attachment 197729 [details]
Add Autotools shared library template

- Spelling, grammar and punctuation fixes.
- Clarified comments where clarification was requested. 

Thanks for the review Jeff
Comment 8 Jeff Johnston CLA 2011-06-10 14:48:30 EDT
Comment on attachment 197729 [details]
Add Autotools shared library template

Looks good.  Thanks.
Comment 9 Andrew Overholt CLA 2011-06-10 15:20:50 EDT
Will you open a CQ for this and bug 348432's contributions, Jeff?
Comment 10 Jeff Johnston CLA 2011-06-10 17:20:04 EDT
(In reply to comment #9)
> Will you open a CQ for this and bug 348432's contributions, Jeff?

Yes, a CQ has been opened: http://dev.eclipse.org/ipzilla/show_bug.cgi?id=5282

When this is approved, I will commit the patch to the repository.
Comment 11 Jeff Johnston CLA 2011-06-16 17:35:44 EDT
Code checked into repository.  Thanks.