Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phing.phar 2.17.4: Archive_Tar missing #1695

Closed
cweiske opened this issue Mar 23, 2023 · 1 comment
Closed

phing.phar 2.17.4: Archive_Tar missing #1695

cweiske opened this issue Mar 23, 2023 · 1 comment

Comments

@cweiske
Copy link
Contributor

cweiske commented Mar 23, 2023

Describe the bug
When using the phar version of phing 2.17.4 to build a project, I get an error:

[PHP Error] include_once(Archive/Tar.php): Failed to open stream: No such file or directory [line 75 of phar:///home/cweiske/bin/phing/classes/phing/tasks/ext/TarTask.php]

I expected all required dependencies to be bundled in the phar file.

Steps To Reproduce

  <fileset id="fs.zip" dir=".">
   <include name="data/**"/>
  </fileset>
  <target name="zip" depends="preparedirs">
    <tar compression="bzip2" destfile="out.tar.bz2"
         prefix="myproject-1.2.3/"
    >
     <fileset refid="fs.zip"/>
    </tar>
  </target>

Expected behavior
No error because Archive_Tar should be bundled.

@cweiske cweiske changed the title phing.phar: Archive_Tar missing phing.phar 2.17.4: Archive_Tar missing Mar 23, 2023
@mrook
Copy link
Member

mrook commented Mar 31, 2023

Hi @cweiske. The .phar file for 2.x will not be modified. Archive_Tar should be present in the 3.0 .phar file.

@mrook mrook closed this as completed Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants