Bug 401745 - out.jar files not generating on Mac
Summary: out.jar files not generating on Mac
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Build (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-25 18:29 EST by Corby James CLA
Modified: 2013-02-28 19:35 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Corby James CLA 2013-02-25 18:29:17 EST
Environment:
Macbook pro
OSX
Java 1.7 64 bit
Eclipse 4.2
AspectJ Development Tools 2.2.2

Problem:
My workspace build fine when I compile it on a Windows 7 box with exactly the same code, configuration, etc.

When I try to build the workspace on my new Mac, the out.jar files aren't generated.  All options, settings, etc. are identical.
Comment 1 Andrew Clement CLA 2013-02-26 12:45:46 EST
Do you get any diagnostics? Is there anything in your eclipse error log?
Comment 2 Corby James CLA 2013-02-26 12:53:19 EST
I have these 7 of these type of warnings...

AJC: warning at /Users/corbyjames/Documents/workspace/com.tmbs.team.km/tmbs_km.jar!com/tmbs/team/km/support/AuditAspect.class:30::0 advice defined in com.tmbs.team.km.support.AuditAspect has not been applied [Xlint:adviceDidNotMatch]

Here is the environment read out from the warning...

eclipse.buildId=M20120914-1800
java.version=1.7.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.modeling.product -keyring /Users/corbyjames/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.modeling.product -keyring /Users/corbyjames/.eclipse_keyring -showlocation

I do not have these on the PC build.
Comment 3 Andrew Clement CLA 2013-02-27 11:47:11 EST
Is there any way you can share the project with me? All our developers for AspectJ/AJDT work on macs and haven't seen these kinds of issue.
Comment 4 Corby James CLA 2013-02-28 16:10:35 EST
There are a number of projects in our workspace with aspects.  We are also using RAP and TEXO.  We have it set up for compile time binding, not sure if that makes a difference.  Would you need the entire workspace or would one project work?
Comment 5 Andrew Clement CLA 2013-02-28 19:35:45 EST
Just one project where you expect the output to be in an out.jar would help me investigate.

But maybe we can double check a few things.  I presume in the .settings/org.eclipse.ajdt.ui.prefs you are seeing:

org.eclipse.ajdt.ui.outJar=<something>.jar



And the .project file looks a bit like this:

<projectDescription>
	<name>AP</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.ajdt.core.ajbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.ajdt.ui.ajnature</nature>
		<nature>org.eclipse.jdt.core.javanature</nature>
	</natures>
</projectDescription>

That just confirms is the using the builder we expect and the output *should* be going into the jar