Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] new tycho user, trivial question

Yeah.. i already had all of those entries etc.. all of the class files are in target/classes .. are compiled

just when tycho decides to make my 1.0.0-SNAPSHOT.jar… there are no class files in it.

Roger

On Jan 3, 2012, at 1:51 PM, Trace Windham wrote:

Roger,
I had a similar problem once, here's how I solved it.

Open your MANIFEST.MF file in the offending plugin's META-INF directory. 

Navigate to the "Build" tab in the editor and find the section near the top called "Runtime Information".  

When I had the same problem as you, the two text boxes in this section were empty.  I had to manually select the "Add Library" button, and select the '.' library.  Then I had to select the "Add Folder" button and add the folders that my source code lived in.  In this case, it was src/main/java.  I got into this mess because someone on my team had tried to manually turn an Eclipse Java Project into a Plug In Project without the help of any Eclipse Wizards.

I'm pretty sure that when you change these text boxes, the editor modifies the build.properties file, and Tycho uses information from build.properties to decide what to compile into class files. (I think)

I'm a Tycho noob, so I really hope this helps.

Thanks,
Trace Windham



On Tue, Jan 3, 2012 at 12:38 PM, Roger Studner <rstudner@xxxxxxxxx> wrote:
So I was able to follow the examples to have a plugin/feature/update site.. I can do mvn clean install and have it all work/build all the parts

But one major "miss".

my plugin, has no class files in it.. it has 100% of the other things I wanted to bundle in it (various xml files the plugin uses.. various runtime jars I didn't bother making into full-fledged osgi plugins themselves).

But.. not a single 'class file' from the actual plugin's source code/compiliation!

If I build this all from within eclipse, it works 100%

any thoughts?

Roger

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top