jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven Integration for Eclipse
  • Maven Integration for Eclipse
  • MNGECLIPSE-996

Problems with build.properties

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Blocker Blocker
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Tycho
  • Labels:
    None
  • Environment:
    windows linux
  • Number of attachments :
    1

Description

i have this build.properties

source.. = src/,\
lang/
output.. = bin/
bin.includes = META-INF/,\
.,\
build.properties,\
icons/,\
plugin.xml,\
images/,\
lang/,\
lib/
bin.excludes = lib/log4j-1.2.14.jar
jars.compile.order = .

i have a file config.properties in the lang directory. When i compile withe eclipse pde, i obtain a jar like that:

toto.jar:

-lang

  • config.properties
    config.properties

so i have 2 files config.properties
but when i compile with tycho, i obtain

toto.jar:

-lang

  • config.properties

i have not the config.properties at the root of the jar.

and the other problem is the "bin.excludes = lib/log4j-1.2.14.jar" is not exclude in the result jar with tycho.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    Test-bug-996.zip
    28/Oct/08 9:47 AM
    13 kB
    Seb
    1. File
      Test-bug-996/.classpath 0.4 kB
    2. File
      Test-bug-996/.project 0.7 kB
    3. File
      Test-bug-996/.../org.eclipse.jdt.core.prefs 0.3 kB
    4. File
      Test-bug-996/anothersrc/test.properties 0.0 kB
    5. File
      Test-bug-996/bin/.../Activator.class 0.8 kB
    6. File
      Test-bug-996/bin/.../Application.class 0.8 kB
    7. File
      Test-bug-996/build.properties 0.1 kB
    8. File
      Test-bug-996/META-INF/MANIFEST.MF 0.3 kB
    9. XML File
      Test-bug-996/plugin.xml 0.6 kB
    10. XML File
      Test-bug-996/pom.xml 0.4 kB
    11. Java Source File
      Test-bug-996/src/.../Activator.java 1.0 kB
    12. Java Source File
      Test-bug-996/src/.../Application.java 0.6 kB
    13. File
      Test-bug-996/target/.../Activator.class 0.8 kB
    14. File
      Test-bug-996/target/.../Application.class 0.8 kB
    15. XML File
      Test-bug-996/target/exported-pom.xml 13 kB
    16. Java Archive File
      Test-bug-996/.../test-bug-996-1.0.0-SNAPSHOT.jar 4 kB
    17. File
      Test-bug-996/test.product 2 kB
    Download Zip
    Show
    Zip Archive
    Test-bug-996.zip
    28/Oct/08 9:47 AM
    13 kB
    Seb

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Seb added a comment - 23/Oct/08 3:58 AM

Sorry, the look of my issue is bad and my english is very bad

so the problem is the result jar "toto.jar" contains the config.properties at the root of the jar and in the sub-directory "lang" with eclipse pde but with tycho the result jar "toto.jar" contains only the config.properties in the sub-directory "lang" ant not at the root of the jar.

thanks,
Seb.

Show
Seb added a comment - 23/Oct/08 3:58 AM Sorry, the look of my issue is bad and my english is very bad so the problem is the result jar "toto.jar" contains the config.properties at the root of the jar and in the sub-directory "lang" with eclipse pde but with tycho the result jar "toto.jar" contains only the config.properties in the sub-directory "lang" ant not at the root of the jar. thanks, Seb.
Hide
Permalink
Igor Fedorenko added a comment - 27/Oct/08 3:17 PM

Can you please attach sample project and explain how I can use to reproduce the problem. Please indicate what tycho build you are using.

Also, tycho does not currently support bin.excludes. I've opedn MNGECLIPSE-1007 to track this problem.

Show
Igor Fedorenko added a comment - 27/Oct/08 3:17 PM Can you please attach sample project and explain how I can use to reproduce the problem. Please indicate what tycho build you are using. Also, tycho does not currently support bin.excludes. I've opedn MNGECLIPSE-1007 to track this problem.
Hide
Permalink
Seb added a comment - 28/Oct/08 9:47 AM

Hi,

i joined a test application. This application contains 2 source folder "src" and "anothersrc". This 2 source folder are declared in the build.properties. I put a file test.properties in "anothersrc" folder.
When i run the goal package with tycho, the result jar doesnt contains the test.properties at the root of the jar.
But when i export in eclipse with the pde, the result jar contains the test.properties.

The tycho version, i use, is tycho-distribution-0.3.0-DEV-1756-bin.zip

Thanks,
Seb.

Show
Seb added a comment - 28/Oct/08 9:47 AM Hi, i joined a test application. This application contains 2 source folder "src" and "anothersrc". This 2 source folder are declared in the build.properties. I put a file test.properties in "anothersrc" folder. When i run the goal package with tycho, the result jar doesnt contains the test.properties at the root of the jar. But when i export in eclipse with the pde, the result jar contains the test.properties. The tycho version, i use, is tycho-distribution-0.3.0-DEV-1756-bin.zip Thanks, Seb.
Seb made changes - 28/Oct/08 9:47 AM
Field Original Value New Value
Attachment Test-bug-996.zip [ 37756 ]
Igor Fedorenko made changes - 28/Oct/08 2:52 PM
Assignee Igor Fedorenko [ igorfie ]
Jason van Zyl made changes - 31/Dec/08 8:56 AM
Workflow Maven New [ 96388 ] jira [ 101187 ]

People

  • Assignee:
    Igor Fedorenko
    Reporter:
    Seb
Vote (0)
Watch (0)

Dates

  • Created:
    23/Oct/08 3:48 AM
    Updated:
    28/Oct/08 2:52 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.