Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360542 - Exported Antenna buildfile works incorrectly
Summary: Exported Antenna buildfile works incorrectly
Status: NEW
Alias: None
Product: MTJ
Classification: Tools
Component: MTJ projects (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 10:21 EDT by megatron CLA
Modified: 2011-10-11 10:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description megatron CLA 2011-10-11 10:21:25 EDT
Build Identifier: 

After exporting to Antenna buildfile I have mtj-build.xml which is works wrong.
It doesn't copy src files so there's no files to compile. Looks like problem in custom-tasks\BuildFilesFilter task.
I've found sources of this task and changed creating dirs in createContainerDirectory method.
file.getParentFile().mkdir(); --> file.getParentFile().mkdirs();
This fix solves problem.

Reproducible: Always

Steps to Reproduce:
1. create helloworld and move midlet to 3 levels package. export to ant script
2. ant -f mtj-build.xml
3. see no files in 'classes' path.